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 47e0b274a353d7f6ad50954590711c5e957895f1..5263312ff3b776b7073465d4a68e076c1ee4958d 100644 |
--- a/content/browser/renderer_host/media/video_capture_browsertest.cc |
+++ b/content/browser/renderer_host/media/video_capture_browsertest.cc |
@@ -101,9 +101,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(); })); |
@@ -148,7 +148,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, |