| Index: content/renderer/media/video_capture_impl.cc
|
| diff --git a/content/renderer/media/video_capture_impl.cc b/content/renderer/media/video_capture_impl.cc
|
| index c91e0e66c244841f3cdbc7b724b356e036671735..a111a948b733e7774ab8838df7aaa7cac2dfa442 100644
|
| --- a/content/renderer/media/video_capture_impl.cc
|
| +++ b/content/renderer/media/video_capture_impl.cc
|
| @@ -134,7 +134,7 @@ void VideoCaptureImpl::SuspendCapture(bool suspend) {
|
| if (suspend)
|
| GetVideoCaptureHost()->Pause(device_id_);
|
| else
|
| - Send(new VideoCaptureHostMsg_Resume(device_id_, session_id_, params_));
|
| + GetVideoCaptureHost()->Resume(device_id_, session_id_, params_);
|
| }
|
|
|
| void VideoCaptureImpl::StartCapture(
|
| @@ -532,7 +532,7 @@ void VideoCaptureImpl::StartCaptureInternal() {
|
| DCHECK(io_task_runner_->BelongsToCurrentThread());
|
| DCHECK(device_id_);
|
|
|
| - Send(new VideoCaptureHostMsg_Start(device_id_, session_id_, params_));
|
| + GetVideoCaptureHost()->Start(device_id_, session_id_, params_);
|
| state_ = VIDEO_CAPTURE_STATE_STARTED;
|
| }
|
|
|
|
|