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

Unified Diff: content/child/runtime_features.cc

Issue 2472773005: Remove autoplay-muted-videos feature flag. (Closed)
Patch Set: Created 4 years, 1 month 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/child/runtime_features.cc
diff --git a/content/child/runtime_features.cc b/content/child/runtime_features.cc
index a0cc45165f80a8ed7fb7955cc8031b2247165a5f..e2e2e70b18600e54c46f19db5b63cbba583e01fc 100644
--- a/content/child/runtime_features.cc
+++ b/content/child/runtime_features.cc
@@ -41,6 +41,7 @@ static void SetRuntimeFeatureDefaultsForPlatform() {
WebRuntimeFeatures::enableNotificationConstructor(false);
// Android does not yet support switching of audio output devices
WebRuntimeFeatures::enableAudioOutputDevices(false);
+ WebRuntimeFeatures::enableAutoplayMutedVideos(true);
#else
WebRuntimeFeatures::enableNavigatorContentUtils(true);
#endif // defined(OS_ANDROID)

Powered by Google App Engine
This is Rietveld 408576698