Index: content/renderer/media/rtc_video_capture_delegate.cc |
diff --git a/content/renderer/media/rtc_video_capture_delegate.cc b/content/renderer/media/rtc_video_capture_delegate.cc |
index 8b038d5c75cb441bf202e31710c5c4fc783cdf7d..9567e2cf4da23d90f4660d77130ddc28f501cf8d 100644 |
--- a/content/renderer/media/rtc_video_capture_delegate.cc |
+++ b/content/renderer/media/rtc_video_capture_delegate.cc |
@@ -26,7 +26,7 @@ RtcVideoCaptureDelegate::~RtcVideoCaptureDelegate() { |
} |
void RtcVideoCaptureDelegate::StartCapture( |
- const media::VideoCaptureCapability& capability, |
+ const media::VideoCaptureParams& params, |
const FrameCapturedCallback& captured_callback, |
const StateChangeCallback& state_callback) { |
DVLOG(3) << " RtcVideoCaptureDelegate::StartCapture "; |
@@ -39,7 +39,7 @@ void RtcVideoCaptureDelegate::StartCapture( |
// Increase the reference count to ensure we are not deleted until |
// The we are unregistered in RtcVideoCaptureDelegate::OnRemoved. |
AddRef(); |
- capture_engine_->StartCapture(this, capability); |
+ capture_engine_->StartCapture(this, params); |
} |
void RtcVideoCaptureDelegate::StopCapture() { |
@@ -92,16 +92,6 @@ void RtcVideoCaptureDelegate::OnFrameReady( |
frame)); |
} |
-void RtcVideoCaptureDelegate::OnDeviceInfoReceived( |
- media::VideoCapture* capture, |
- const media::VideoCaptureParams& device_info) { |
-} |
- |
-void RtcVideoCaptureDelegate::OnDeviceInfoChanged( |
- media::VideoCapture* capture, |
- const media::VideoCaptureParams& device_info) { |
-} |
- |
void RtcVideoCaptureDelegate::OnFrameReadyOnCaptureThread( |
media::VideoCapture* capture, |
const scoped_refptr<media::VideoFrame>& frame) { |