Index: webrtc/media/devices/carbonvideorenderer.cc |
diff --git a/webrtc/media/devices/carbonvideorenderer.cc b/webrtc/media/devices/carbonvideorenderer.cc |
index 95b808d9863493e6cb12d96a92221f9aff8fc4db..f753ca8db5b79a80790d106db9f9384dd70feef8 100644 |
--- a/webrtc/media/devices/carbonvideorenderer.cc |
+++ b/webrtc/media/devices/carbonvideorenderer.cc |
@@ -92,7 +92,7 @@ bool CarbonVideoRenderer::DrawFrame() { |
return true; |
} |
-bool CarbonVideoRenderer::SetSize(int width, int height, int reserved) { |
+bool CarbonVideoRenderer::SetSize(int width, int height) { |
if (width != image_width_ || height != image_height_) { |
// Grab the image lock while changing its size. |
rtc::CritScope cs(&image_crit_); |
@@ -104,10 +104,7 @@ bool CarbonVideoRenderer::SetSize(int width, int height, int reserved) { |
return true; |
} |
-bool CarbonVideoRenderer::RenderFrame(const VideoFrame* video_frame) { |
- if (!video_frame) { |
- return false; |
- } |
+void CarbonVideoRenderer::OnFrame(const VideoFrame& video_frame) { |
{ |
const VideoFrame* frame = video_frame->GetCopyWithRotationApplied(); |