Index: content/browser/media/webrtc_internals_browsertest.cc |
diff --git a/content/browser/media/webrtc_internals_browsertest.cc b/content/browser/media/webrtc_internals_browsertest.cc |
index e9b8b9828c25c71451058c267a1fc735fdcba9bb..7c304f0d1bb94f31d0363a6885f8647b109fdfad 100644 |
--- a/content/browser/media/webrtc_internals_browsertest.cc |
+++ b/content/browser/media/webrtc_internals_browsertest.cc |
@@ -152,12 +152,11 @@ class MAYBE_WebRtcInternalsBrowserTest: public ContentBrowserTest { |
virtual ~MAYBE_WebRtcInternalsBrowserTest() {} |
void SetUpOnMainThread() override { |
- // We need fake devices in this test since we want to run on naked VMs. We |
- // assume these switches are set by default in content_browsertests. |
- ASSERT_TRUE(CommandLine::ForCurrentProcess()->HasSwitch( |
- switches::kUseFakeDeviceForMediaStream)); |
+ // Assume this is set by the content test launcher. |
ASSERT_TRUE(CommandLine::ForCurrentProcess()->HasSwitch( |
switches::kUseFakeUIForMediaStream)); |
+ ASSERT_TRUE(CommandLine::ForCurrentProcess()->HasSwitch( |
+ switches::kUseFakeDeviceForMediaStream)); |
} |
protected: |