Index: chrome/test/ppapi/ppapi_test.cc |
diff --git a/chrome/test/ppapi/ppapi_test.cc b/chrome/test/ppapi/ppapi_test.cc |
index 2708068911b4f7850ff263ec7eb6d56a5f71f636..3dbbd51af814b60c059323f1f2cf2830d0bc130c 100644 |
--- a/chrome/test/ppapi/ppapi_test.cc |
+++ b/chrome/test/ppapi/ppapi_test.cc |
@@ -314,6 +314,7 @@ OutOfProcessPPAPITest::OutOfProcessPPAPITest() { |
void OutOfProcessPPAPITest::SetUpCommandLine(CommandLine* command_line) { |
PPAPITest::SetUpCommandLine(command_line); |
+ command_line->AppendSwitch(switches::kUseFakeDeviceForMediaStream); |
} |
void PPAPINaClTest::SetUpCommandLine(CommandLine* command_line) { |
@@ -327,6 +328,7 @@ void PPAPINaClTest::SetUpCommandLine(CommandLine* command_line) { |
command_line->AppendSwitch(switches::kEnableNaCl); |
command_line->AppendSwitch(switches::kEnablePnacl); |
command_line->AppendSwitchASCII(switches::kAllowNaClSocketAPI, "127.0.0.1"); |
+ command_line->AppendSwitch(switches::kUseFakeDeviceForMediaStream); |
} |
// Append the correct mode and testcase string |