Index: tools/perf/benchmarks/media.py |
diff --git a/tools/perf/benchmarks/media.py b/tools/perf/benchmarks/media.py |
index ddccefb6b1dc55ee1ed44ed7b47a4ae72f4cfc8d..e56c0796ff23d9dcdebaae1ac1efc39ae16eb67e 100644 |
--- a/tools/perf/benchmarks/media.py |
+++ b/tools/perf/benchmarks/media.py |
@@ -156,7 +156,14 @@ class MediaAndroidToughVideoCasesTBMv2(_MediaTBMv2Benchmark): |
# By default, Chrome on Android does not allow autoplay |
# of media: it requires a user gesture event to start a video. |
# The following option works around that. |
- options.AppendExtraBrowserArgs(['--ignore-autoplay-restrictions']) |
+ # Note that both of these flags should be used until every build from |
+ # ToT to Stable switches over to one flag or another. This is to support |
+ # reference builds. |
+ # --disable-gesture-requirement-for-media-playback is the old one and can be |
+ # removed after M60 goes to stable. |
+ options.AppendExtraBrowserArgs( |
+ ['--ignore-autoplay-restrictions', |
+ '--disable-gesture-requirement-for-media-playback']) |
# This isn't running anywhere. See crbug/709161. |