Index: content/browser/renderer_host/media/video_capture_host_unittest.cc |
diff --git a/content/browser/renderer_host/media/video_capture_host_unittest.cc b/content/browser/renderer_host/media/video_capture_host_unittest.cc |
index 1e6caa0d3d7f56eb936edfbab5ca53c2625a8844..58ba4ceb8734176f21e1af7abc38eade4ec9044a 100644 |
--- a/content/browser/renderer_host/media/video_capture_host_unittest.cc |
+++ b/content/browser/renderer_host/media/video_capture_host_unittest.cc |
@@ -386,7 +386,7 @@ class VideoCaptureHostTest : public testing::Test { |
media::VideoCaptureParams params; |
params.requested_format = media::VideoCaptureFormat( |
gfx::Size(352, 288), 30, media::PIXEL_FORMAT_I420); |
- host_->OnStartCapture(kDeviceId, opened_session_id_, params); |
+ host_->Start(kDeviceId, opened_session_id_, params); |
run_loop.Run(); |
} |
@@ -400,7 +400,7 @@ class VideoCaptureHostTest : public testing::Test { |
media::VideoCaptureParams params; |
params.requested_format = media::VideoCaptureFormat( |
gfx::Size(352, 288), 30, media::PIXEL_FORMAT_I420); |
- host_->OnStartCapture(kDeviceId, opened_session_id_, params); |
+ host_->Start(kDeviceId, opened_session_id_, params); |
host_->Stop(kDeviceId); |
run_loop.RunUntilIdle(); |
WaitForVideoDeviceThread(); |
@@ -418,7 +418,7 @@ class VideoCaptureHostTest : public testing::Test { |
media::VideoCaptureParams params; |
params.requested_format = media::VideoCaptureFormat( |
gfx::Size(352, 288), 30, media::PIXEL_FORMAT_I420); |
- host_->OnResumeCapture(kDeviceId, opened_session_id_, params); |
+ host_->Resume(kDeviceId, opened_session_id_, params); |
run_loop.RunUntilIdle(); |
WaitForVideoDeviceThread(); |
} |
@@ -438,7 +438,7 @@ class VideoCaptureHostTest : public testing::Test { |
params.requested_format = |
media::VideoCaptureFormat(gfx::Size(width, height), frame_rate); |
host_->SetDumpVideo(true); |
- host_->OnStartCapture(kDeviceId, opened_session_id_, params); |
+ host_->Start(kDeviceId, opened_session_id_, params); |
run_loop.Run(); |
} |
#endif |