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() |