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

Unified Diff: content/child/runtime_features.cc

Issue 20104005: enable MSE and legacy EME by default on Android (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix test Created 7 years, 5 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 | « content/browser/renderer_host/render_process_host_impl.cc ('k') | content/public/common/content_switches.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/child/runtime_features.cc
diff --git a/content/child/runtime_features.cc b/content/child/runtime_features.cc
index b866c242de9541673637cac4f13018108b7ebc7e..069d5ae21bd1f684fa4727a799e01cea07b4a472 100644
--- a/content/child/runtime_features.cc
+++ b/content/child/runtime_features.cc
@@ -17,12 +17,6 @@ using WebKit::WebRuntimeFeatures;
namespace content {
static void SetRuntimeFeatureDefaultsForPlatform() {
-#if defined(OS_ANDROID) && !defined(GOOGLE_TV)
- WebRuntimeFeatures::enableWebKitMediaSource(false);
- WebRuntimeFeatures::enableLegacyEncryptedMedia(false);
- WebRuntimeFeatures::enableEncryptedMedia(false);
-#endif
-
#if defined(OS_ANDROID)
bool enable_webaudio = false;
#if defined(ARCH_CPU_ARMEL)
@@ -66,13 +60,8 @@ void SetRuntimeFeaturesDefaultsAndUpdateFromArgs(
if (command_line.HasSwitch(switches::kDisableGeolocation))
WebRuntimeFeatures::enableGeolocation(false);
-#if defined(OS_ANDROID) && !defined(GOOGLE_TV)
- if (command_line.HasSwitch(switches::kEnableWebKitMediaSource))
- WebRuntimeFeatures::enableWebKitMediaSource(true);
-#else
if (command_line.HasSwitch(switches::kDisableWebKitMediaSource))
WebRuntimeFeatures::enableWebKitMediaSource(false);
-#endif
#if defined(OS_ANDROID)
if (command_line.HasSwitch(switches::kDisableWebRTC)) {
« no previous file with comments | « content/browser/renderer_host/render_process_host_impl.cc ('k') | content/public/common/content_switches.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698