From c9a1ecc2a27056003db1882ff1a6b73d6c774c8f Mon Sep 17 00:00:00 2001 From: Alexander David Frick Date: Sat, 23 Jul 2022 06:34:46 -0500 Subject: [PATCH] Update media_switches.cc --- src/media/base/media_switches.cc | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/media/base/media_switches.cc b/src/media/base/media_switches.cc index a311e206..4770e7ac 100644 --- a/src/media/base/media_switches.cc +++ b/src/media/base/media_switches.cc @@ -968,7 +968,9 @@ std::string GetEffectiveAutoplayPolicy(const base::CommandLine& command_line) { // The default value is platform dependent. #if BUILDFLAG(IS_ANDROID) return switches::autoplay::kUserGestureRequiredPolicy; -#endif +#else + return switches::autoplay::kNoUserGestureRequiredPolicy; +#endif // BUILDFLAG(IS_ANDROID) } // Enables Media Engagement Index recording. This data will be used to determine