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

Unified Diff: chrome/browser/media/webrtc/webrtc_apprtc_browsertest.cc

Issue 2710963002: Reland of Fall back to default media device from preferences if no default is supplied from the c... (Closed)
Patch Set: Specify default device IDs for broken test Created 3 years, 10 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
« no previous file with comments | « no previous file | content/browser/media/media_devices_util.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/media/webrtc/webrtc_apprtc_browsertest.cc
diff --git a/chrome/browser/media/webrtc/webrtc_apprtc_browsertest.cc b/chrome/browser/media/webrtc/webrtc_apprtc_browsertest.cc
index 0a46686092c81fe7c80a6d45559204bdbc526ea9..ba3ad73656bb57df29916aca7aebe138eddb86aa 100644
--- a/chrome/browser/media/webrtc/webrtc_apprtc_browsertest.cc
+++ b/chrome/browser/media/webrtc/webrtc_apprtc_browsertest.cc
@@ -52,8 +52,11 @@ class WebRtcApprtcBrowserTest : public WebRtcTestBase {
// The video playback will not work without a GPU, so force its use here.
command_line->AppendSwitch(switches::kUseGpuInTests);
- base::CommandLine::ForCurrentProcess()->AppendSwitch(
- switches::kUseFakeDeviceForMediaStream);
+ // This test fails on some Mac bots if no default devices are specified on
+ // the command line.
+ base::CommandLine::ForCurrentProcess()->AppendSwitchASCII(
+ switches::kUseFakeDeviceForMediaStream,
+ "audio-input-default-id=default,video-input-default-id=default");
}
void TearDown() override {
« no previous file with comments | « no previous file | content/browser/media/media_devices_util.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698