Index: content/browser/renderer_host/render_process_host_browsertest.cc |
diff --git a/content/browser/renderer_host/render_process_host_browsertest.cc b/content/browser/renderer_host/render_process_host_browsertest.cc |
index d9038d57c228701bf3d843c6564bf8d0f6a73df2..55c1eebc14466d3539a57737623e70c57c625503 100644 |
--- a/content/browser/renderer_host/render_process_host_browsertest.cc |
+++ b/content/browser/renderer_host/render_process_host_browsertest.cc |
@@ -12,13 +12,13 @@ |
#include "content/public/browser/render_process_host.h" |
#include "content/public/browser/render_process_host_observer.h" |
#include "content/public/browser/web_contents.h" |
+#include "content/public/common/content_switches.h" |
#include "content/public/common/url_constants.h" |
#include "content/public/test/content_browser_test.h" |
#include "content/public/test/content_browser_test_utils.h" |
#include "content/public/test/test_service.mojom.h" |
#include "content/shell/browser/shell.h" |
#include "media/base/bind_to_current_loop.h" |
-#include "media/base/media_switches.h" |
#include "media/base/test_data_util.h" |
#include "net/test/embedded_test_server/embedded_test_server.h" |
#include "services/service_manager/public/cpp/interface_provider.h" |
@@ -49,7 +49,8 @@ |
RenderProcessHostTest() : process_exits_(0), host_destructions_(0) {} |
void SetUpCommandLine(base::CommandLine* command_line) override { |
- command_line->AppendSwitch(switches::kIgnoreAutoplayRestrictionsForTests); |
+ command_line->AppendSwitch( |
+ switches::kDisableGestureRequirementForMediaPlayback); |
} |
protected: |