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

Unified Diff: content/renderer/render_view_impl.cc

Issue 2846713002: [Media] Added feature flag for new remote playback pipeline (Closed)
Patch Set: Fixed failing layout tests 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
« no previous file with comments | « chrome/browser/flag_descriptions.cc ('k') | media/base/media_switches.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/renderer/render_view_impl.cc
diff --git a/content/renderer/render_view_impl.cc b/content/renderer/render_view_impl.cc
index 42953f4e77f7295463699c857473d9696bcfdd4d..4c85167a2e65729bd5fb16172a98bb047b72fc73 100644
--- a/content/renderer/render_view_impl.cc
+++ b/content/renderer/render_view_impl.cc
@@ -15,6 +15,7 @@
#include "base/compiler_specific.h"
#include "base/debug/alias.h"
#include "base/debug/crash_logging.h"
+#include "base/feature_list.h"
#include "base/files/file_path.h"
#include "base/i18n/rtl.h"
#include "base/json/json_writer.h"
@@ -1081,6 +1082,8 @@ void RenderView::ApplyWebPreferences(const WebPreferences& prefs,
settings->SetHideDownloadUI(prefs.hide_download_ui);
WebRuntimeFeatures::EnableBackgroundVideoTrackOptimization(
prefs.background_video_track_optimization_enabled);
+ WebRuntimeFeatures::EnableNewRemotePlaybackPipeline(
+ base::FeatureList::IsEnabled(media::kNewRemotePlaybackPipeline));
settings->SetPresentationReceiver(prefs.presentation_receiver);
« no previous file with comments | « chrome/browser/flag_descriptions.cc ('k') | media/base/media_switches.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698