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

Unified Diff: content/child/runtime_features.cc

Issue 2472773005: Remove autoplay-muted-videos feature flag. (Closed)
Patch Set: update java code 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 66d6781495a439ab1627ee7393008df9a4c96865..c7d1a0f9b18a4e299f25653b200bf48136cb32a4 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)
« no previous file with comments | « content/browser/renderer_host/render_view_host_impl.cc ('k') | content/public/common/common_param_traits_macros.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698