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 815566282edb3a9543cde8632d0ac9521eff3f3d..8f3b342e403b1bd8550ce63b81bdd743ba464d6e 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() {} |
virtual 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: |