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

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: Resolve Browser Test Issuex 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 60d20ff27b334f55c5d47a08859f9d47237d867d..cc0999097009b579cbb7a55625f965c4473af1a0 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
@@ -618,10 +618,10 @@ 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(
+ device_ = WebContentsVideoCaptureDevice::Create(
base::StringPrintf("web-contents-media-stream://%d:%d",
main_frame->GetProcess()->GetID(),
- main_frame->GetRoutingID())));
+ main_frame->GetRoutingID()));
base::RunLoop().RunUntilIdle();
}

Powered by Google App Engine
This is Rietveld 408576698