Index: content/browser/media/webrtc_aecdump_browsertest.cc |
diff --git a/content/browser/media/webrtc_aecdump_browsertest.cc b/content/browser/media/webrtc_aecdump_browsertest.cc |
index f65b1a427869ac809f337a403c17f3e86fbec81c..cf98c4bad86924a61a35b52a28fca81fd865303f 100644 |
--- a/content/browser/media/webrtc_aecdump_browsertest.cc |
+++ b/content/browser/media/webrtc_aecdump_browsertest.cc |
@@ -27,6 +27,9 @@ class WebrtcAecDumpBrowserTest : public ContentBrowserTest { |
ASSERT_TRUE(temp_dir_.CreateUniqueTempDir()); |
ASSERT_TRUE(CreateTemporaryFileInDir(temp_dir_.path(), &dump_file_)); |
+ // These tests expect pixel output. |
+ UseRealGLContexts(); |
+ |
ContentBrowserTest::SetUp(); |
} |
@@ -38,10 +41,6 @@ class WebrtcAecDumpBrowserTest : public ContentBrowserTest { |
ASSERT_TRUE(CommandLine::ForCurrentProcess()->HasSwitch( |
switches::kUseFakeUIForMediaStream)); |
- // The video playback will not work without a GPU, so force its use here. |
- // This may not be available on all VMs though. |
- command_line->AppendSwitch(switches::kUseGpuInTests); |
- |
// Enable AEC dump with the command line flag. |
command_line->AppendSwitchPath(switches::kEnableWebRtcAecRecordings, |
dump_file_); |