| Index: content/test/webrtc_content_browsertest_base.cc
|
| diff --git a/content/test/webrtc_content_browsertest_base.cc b/content/test/webrtc_content_browsertest_base.cc
|
| index db83501971f94d6d57e18bd42ceb669a5308e2e9..5c0da964e27dbc10cbe6e697b679e215d9ccf132 100644
|
| --- a/content/test/webrtc_content_browsertest_base.cc
|
| +++ b/content/test/webrtc_content_browsertest_base.cc
|
| @@ -20,12 +20,11 @@
|
| namespace content {
|
|
|
| void WebRtcContentBrowserTest::SetUpCommandLine(CommandLine* command_line) {
|
| - // 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));
|
|
|
| // Always include loopback interface in network list, in case the test device
|
| // doesn't have other interfaces available.
|
| @@ -34,6 +33,7 @@ void WebRtcContentBrowserTest::SetUpCommandLine(CommandLine* command_line) {
|
| }
|
|
|
| void WebRtcContentBrowserTest::SetUp() {
|
| + // We need pixel output when we dig pixels out of video tags for verification.
|
| EnablePixelOutput();
|
| #if defined(OS_CHROMEOS)
|
| chromeos::CrasAudioHandler::InitializeForTesting();
|
|
|