Index: content/renderer/pepper/pepper_platform_video_capture.cc |
diff --git a/content/renderer/pepper/pepper_platform_video_capture.cc b/content/renderer/pepper/pepper_platform_video_capture.cc |
index 86ce45d845350c6df53532657cb9fd8425a6bbc4..6ae596fa3f5c942887efc66534ca2c4e2dc86d3c 100644 |
--- a/content/renderer/pepper/pepper_platform_video_capture.cc |
+++ b/content/renderer/pepper/pepper_platform_video_capture.cc |
@@ -46,7 +46,7 @@ PepperPlatformVideoCapture::PepperPlatformVideoCapture( |
void PepperPlatformVideoCapture::StartCapture( |
media::VideoCapture::EventHandler* handler, |
- const media::VideoCaptureCapability& capability) { |
+ const media::VideoCaptureParams& params) { |
DCHECK(handler == handler_); |
if (unbalanced_start_) |
@@ -55,7 +55,7 @@ void PepperPlatformVideoCapture::StartCapture( |
if (video_capture_) { |
unbalanced_start_ = true; |
AddRef(); // Will be balanced in OnRemoved(). |
- video_capture_->StartCapture(handler_proxy_.get(), capability); |
+ video_capture_->StartCapture(handler_proxy_.get(), params); |
} |
} |
@@ -148,7 +148,7 @@ void PepperPlatformVideoCapture::OnFrameReady( |
void PepperPlatformVideoCapture::OnDeviceInfoReceived( |
VideoCapture* capture, |
- const media::VideoCaptureParams& device_info) { |
+ const media::VideoCaptureFormat& device_info) { |
if (handler_) |
handler_->OnDeviceInfoReceived(capture, device_info); |
} |