Index: content/browser/renderer_host/media/video_capture_browsertest.cc |
diff --git a/content/browser/renderer_host/media/video_capture_browsertest.cc b/content/browser/renderer_host/media/video_capture_browsertest.cc |
index 13bda0dbfcb04b3ce8bfe15cb15af15be27e1858..329ee537548abeb54a21b7f416604aa0e014a99f 100644 |
--- a/content/browser/renderer_host/media/video_capture_browsertest.cc |
+++ b/content/browser/renderer_host/media/video_capture_browsertest.cc |
@@ -102,9 +102,9 @@ class VideoCaptureBrowserTest |
return; |
} |
- video_capture_manager_->StopCaptureForClient( |
- controller_.get(), stub_client_id_, &mock_controller_event_handler_, |
- false); |
+ video_capture_manager_->DisconnectClient(controller_.get(), stub_client_id_, |
+ &mock_controller_event_handler_, |
+ false); |
EXPECT_CALL(mock_stream_provider_listener_, Closed(_, _)) |
.WillOnce(InvokeWithoutArgs([continuation]() { continuation.Run(); })); |
@@ -149,7 +149,7 @@ class VideoCaptureBrowserTest |
capture_params.requested_format = media::VideoCaptureFormat( |
GetParam().resolution_to_use, GetParam().frame_rate_to_use, |
GetParam().pixel_format_to_use); |
- video_capture_manager_->StartCaptureForClient( |
+ video_capture_manager_->ConnectClient( |
session_id_, capture_params, stub_client_id_, |
&mock_controller_event_handler_, |
base::Bind(&VideoCaptureBrowserTest::OnConnectClientToControllerAnswer, |