Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(50)

Unified Diff: content/browser/media/capture/web_contents_video_capture_device_unittest.cc

Issue 2291893002: Let Contraints Controll Mute/Unmute Audio Local Playback For Desktop Sharing (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase Created 4 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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();
}

Powered by Google App Engine
This is Rietveld 408576698