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

Unified Diff: content/browser/renderer_host/media/video_capture_unittest.cc

Issue 2787703004: [Mojo Video Capture] Fix VideoCaptureManager exposing implementation details to clients (Closed)
Patch Set: Pull changes from upstream Created 3 years, 9 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/renderer_host/media/video_capture_unittest.cc
diff --git a/content/browser/renderer_host/media/video_capture_unittest.cc b/content/browser/renderer_host/media/video_capture_unittest.cc
index c8ea3c0440e8a73fcfa7f37579201b119c74d7db..f5065cc4296ce28a3b2c41281c39d9f7ef7a39ff 100644
--- a/content/browser/renderer_host/media/video_capture_unittest.cc
+++ b/content/browser/renderer_host/media/video_capture_unittest.cc
@@ -130,7 +130,7 @@ class VideoCaptureTest : public testing::Test,
base::CommandLine::ForCurrentProcess()->AppendSwitch(
switches::kUseFakeUIForMediaStream);
media_stream_manager_ =
- base::MakeUnique<MediaStreamManager>(audio_system_.get());
+ MediaStreamManager::CreateWithDefaults(audio_system_.get());
// Create a Host and connect it to a simulated IPC channel.
host_.reset(new VideoCaptureHost(media_stream_manager_.get()));

Powered by Google App Engine
This is Rietveld 408576698