Index: webrtc/common_video/corevideo_frame_buffer.cc |
diff --git a/webrtc/common_video/corevideo_frame_buffer.cc b/webrtc/common_video/corevideo_frame_buffer.cc |
index a58ddc7fbb9307acf694f2cab4a1293e09af7ca9..3245bf5e498b17337fa6bdf5983bfecc5ebdd6c5 100644 |
--- a/webrtc/common_video/corevideo_frame_buffer.cc |
+++ b/webrtc/common_video/corevideo_frame_buffer.cc |
@@ -35,7 +35,7 @@ CoreVideoFrameBuffer::NativeToI420Buffer() { |
size_t width = CVPixelBufferGetWidthOfPlane(pixel_buffer_, 0); |
size_t height = CVPixelBufferGetHeightOfPlane(pixel_buffer_, 0); |
// TODO(tkchin): Use a frame buffer pool. |
- rtc::scoped_refptr<webrtc::VideoFrameBuffer> buffer = |
+ rtc::scoped_refptr<webrtc::I420Buffer> buffer = |
new rtc::RefCountedObject<webrtc::I420Buffer>(width, height); |
CVPixelBufferLockBaseAddress(pixel_buffer_, kCVPixelBufferLock_ReadOnly); |
const uint8_t* src_y = static_cast<const uint8_t*>( |