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

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

Issue 1097553003: Switch to STA mode for audio thread and WASAPI I/O streams. (Closed) Base URL: http://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix test. Created 5 years, 8 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/media_stream_dispatcher_host_unittest.cc
diff --git a/content/browser/renderer_host/media/media_stream_dispatcher_host_unittest.cc b/content/browser/renderer_host/media/media_stream_dispatcher_host_unittest.cc
index 9b3d22f26613f51d3421383bee264469c56b3aa4..42b61328b59ab57e8120a566293924bcece2fed3 100644
--- a/content/browser/renderer_host/media/media_stream_dispatcher_host_unittest.cc
+++ b/content/browser/renderer_host/media/media_stream_dispatcher_host_unittest.cc
@@ -234,11 +234,6 @@ class MediaStreamDispatcherHostTest : public testing::Test {
media_stream_manager_->video_capture_manager()
->video_capture_device_factory());
DCHECK(video_capture_device_factory_);
-#if defined(OS_WIN)
- // Override the Video Capture Thread that MediaStreamManager constructs.
- media_stream_manager_->video_capture_manager()->set_device_task_runner(
- base::MessageLoopProxy::current());
-#endif
MockResourceContext* mock_resource_context =
static_cast<MockResourceContext*>(

Powered by Google App Engine
This is Rietveld 408576698