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

Unified Diff: content/renderer/render_view_impl.cc

Issue 2846713002: [Media] Added feature flag for new remote playback pipeline (Closed)
Patch Set: Created 3 years, 8 months 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/renderer/render_view_impl.cc
diff --git a/content/renderer/render_view_impl.cc b/content/renderer/render_view_impl.cc
index 3f21403e359259cfde64d065611d1f2f69344044..bfffc95be4cd73c005d0c2e3e980d92fe77cfa12 100644
--- a/content/renderer/render_view_impl.cc
+++ b/content/renderer/render_view_impl.cc
@@ -1081,6 +1081,8 @@ void RenderView::ApplyWebPreferences(const WebPreferences& prefs,
settings->SetHideDownloadUI(prefs.hide_download_ui);
WebRuntimeFeatures::EnableBackgroundVideoTrackOptimization(
prefs.background_video_track_optimization_enabled);
+ WebRuntimeFeatures::EnableNewRemotePlaybackPipeline(
+ prefs.new_remote_playback_pipeline_enabled);
settings->SetPresentationReceiver(prefs.presentation_receiver);

Powered by Google App Engine
This is Rietveld 408576698