| Index: content/browser/media/capture/web_contents_video_capture_device_unittest.cc
|
| diff --git a/content/browser/media/capture/web_contents_video_capture_device_unittest.cc b/content/browser/media/capture/web_contents_video_capture_device_unittest.cc
|
| index 36de0f247b63581477f0e0a722ffbef8d3514d77..f8ee434475585fde9b50feb45ee81be237102bdb 100644
|
| --- a/content/browser/media/capture/web_contents_video_capture_device_unittest.cc
|
| +++ b/content/browser/media/capture/web_contents_video_capture_device_unittest.cc
|
| @@ -634,10 +634,9 @@ class MAYBE_WebContentsVideoCaptureDeviceTest : public testing::Test {
|
| web_contents_.reset(
|
| TestWebContents::Create(browser_context_.get(), site_instance.get()));
|
| RenderFrameHost* const main_frame = web_contents_->GetMainFrame();
|
| - device_.reset(WebContentsVideoCaptureDevice::Create(
|
| - base::StringPrintf("web-contents-media-stream://%d:%d",
|
| - main_frame->GetProcess()->GetID(),
|
| - main_frame->GetRoutingID())));
|
| + device_ = WebContentsVideoCaptureDevice::Create(base::StringPrintf(
|
| + "web-contents-media-stream://%d:%d", main_frame->GetProcess()->GetID(),
|
| + main_frame->GetRoutingID()));
|
|
|
| base::RunLoop().RunUntilIdle();
|
| }
|
|
|