Index: content/renderer/render_view_impl.cc |
diff --git a/content/renderer/render_view_impl.cc b/content/renderer/render_view_impl.cc |
index c9c736d8444579b359552cae6bbc015be340a4f8..613853c618a7bc1ef942a600bc5aee6174c2f9e4 100644 |
--- a/content/renderer/render_view_impl.cc |
+++ b/content/renderer/render_view_impl.cc |
@@ -1059,6 +1059,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); |