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

Unified Diff: content/browser/media/media_browsertest.cc

Issue 2845973005: Reland of name kDisableGestureRequirementForMediaPlayback and make it a test-only flag. (Closed)
Patch Set: Created 3 years, 8 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
Index: content/browser/media/media_browsertest.cc
diff --git a/content/browser/media/media_browsertest.cc b/content/browser/media/media_browsertest.cc
index 8997c57ada3f5b349e8dfc20a8173154b821dc85..b3dffc714ffb0052435134ed6e7f411a94566733 100644
--- a/content/browser/media/media_browsertest.cc
+++ b/content/browser/media/media_browsertest.cc
@@ -35,8 +35,7 @@
const char MediaBrowserTest::kError[] = "error";
void MediaBrowserTest::SetUpCommandLine(base::CommandLine* command_line) {
- command_line->AppendSwitch(
- switches::kDisableGestureRequirementForMediaPlayback);
+ command_line->AppendSwitch(switches::kIgnoreAutoplayRestrictionsForTests);
command_line->AppendSwitch(switches::kEnableVp9InMp4);
}
« no previous file with comments | « content/browser/media/encrypted_media_browsertest.cc ('k') | content/browser/media/media_source_browsertest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698