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

Unified Diff: Source/web/WebRuntimeFeatures.cpp

Issue 580263004: Remove EncryptedMediaAnyVersion runtime flag (status=stable) (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years, 3 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: Source/web/WebRuntimeFeatures.cpp
diff --git a/Source/web/WebRuntimeFeatures.cpp b/Source/web/WebRuntimeFeatures.cpp
index 3329954f3d186e58301a9c8ae1b3653507215976..1cdde1bbf6074d6790841f00ccf8b2cfedd57825 100644
--- a/Source/web/WebRuntimeFeatures.cpp
+++ b/Source/web/WebRuntimeFeatures.cpp
@@ -72,10 +72,6 @@ void WebRuntimeFeatures::enableDisplayList2dCanvas(bool enable)
void WebRuntimeFeatures::enableEncryptedMedia(bool enable)
{
RuntimeEnabledFeatures::setEncryptedMediaEnabled(enable);
- // FIXME: Hack to allow MediaKeyError to be enabled for either version.
- RuntimeEnabledFeatures::setEncryptedMediaAnyVersionEnabled(
- RuntimeEnabledFeatures::encryptedMediaEnabled()
- || RuntimeEnabledFeatures::prefixedEncryptedMediaEnabled());
}
bool WebRuntimeFeatures::isEncryptedMediaEnabled()
@@ -86,10 +82,6 @@ bool WebRuntimeFeatures::isEncryptedMediaEnabled()
void WebRuntimeFeatures::enablePrefixedEncryptedMedia(bool enable)
{
RuntimeEnabledFeatures::setPrefixedEncryptedMediaEnabled(enable);
- // FIXME: Hack to allow MediaKeyError to be enabled for either version.
- RuntimeEnabledFeatures::setEncryptedMediaAnyVersionEnabled(
- RuntimeEnabledFeatures::encryptedMediaEnabled()
- || RuntimeEnabledFeatures::prefixedEncryptedMediaEnabled());
}
bool WebRuntimeFeatures::isPrefixedEncryptedMediaEnabled()
« Source/core/html/MediaKeyError.idl ('K') | « Source/platform/RuntimeEnabledFeatures.in ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698