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

Unified Diff: content/child/runtime_features.cc

Issue 1712903002: Remove prefixed EME. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix layout tests. Created 4 years, 10 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/child/runtime_features.cc
diff --git a/content/child/runtime_features.cc b/content/child/runtime_features.cc
index 1ad1981e747d47b6a7888bd614a4e2d5be45e928..c7647a6e424b407fc42a7bf8ecc5cd63cbb08579 100644
--- a/content/child/runtime_features.cc
+++ b/content/child/runtime_features.cc
@@ -34,7 +34,6 @@ static void SetRuntimeFeatureDefaultsForPlatform() {
// MSE/EME implementation needs Android MediaCodec API.
if (!media::MediaCodecUtil::IsMediaCodecAvailable()) {
WebRuntimeFeatures::enableMediaSource(false);
- WebRuntimeFeatures::enablePrefixedEncryptedMedia(false);
WebRuntimeFeatures::enableEncryptedMedia(false);
}
@@ -105,12 +104,6 @@ void SetRuntimeFeaturesDefaultsAndUpdateFromArgs(
if (command_line.HasSwitch(switches::kDisableSpeechAPI))
WebRuntimeFeatures::enableScriptedSpeech(false);
- if (command_line.HasSwitch(switches::kDisableEncryptedMedia))
- WebRuntimeFeatures::enableEncryptedMedia(false);
-
- if (command_line.HasSwitch(switches::kEnablePrefixedEncryptedMedia))
- WebRuntimeFeatures::enablePrefixedEncryptedMedia(true);
-
if (command_line.HasSwitch(switches::kDisableFileSystem))
WebRuntimeFeatures::enableFileSystem(false);

Powered by Google App Engine
This is Rietveld 408576698