Index: content/renderer/render_view_impl.cc |
diff --git a/content/renderer/render_view_impl.cc b/content/renderer/render_view_impl.cc |
index da05c5ff6b54a849cce60518ba0aa959a9fc4018..6b4266047777810bd1a3fad1f7ceb12791c84a36 100644 |
--- a/content/renderer/render_view_impl.cc |
+++ b/content/renderer/render_view_impl.cc |
@@ -1056,6 +1056,8 @@ void RenderView::ApplyWebPreferences(const WebPreferences& prefs, |
prefs.always_show_context_menu_on_touch); |
settings->setHideDownloadUI(prefs.hide_download_ui); |
+ WebRuntimeFeatures::enableBackgroundVideoTrackOptimization( |
+ prefs.background_video_track_optimization_enabled); |
#if defined(OS_MACOSX) |
settings->setDoubleTapToZoomEnabled(true); |