Index: Source/core/testing/InternalSettings.cpp |
diff --git a/Source/core/testing/InternalSettings.cpp b/Source/core/testing/InternalSettings.cpp |
index fe2e6b2d066c78fd26e43758a892242f806c2901..aed9cd9764b0b03c3bee3a76cdc2b0ec41a36719 100644 |
--- a/Source/core/testing/InternalSettings.cpp |
+++ b/Source/core/testing/InternalSettings.cpp |
@@ -57,8 +57,7 @@ |
namespace WebCore { |
InternalSettings::Backup::Backup(Settings* settings) |
- : m_originalCSSExclusionsEnabled(RuntimeEnabledFeatures::cssExclusionsEnabled()) |
- , m_originalAuthorShadowDOMForAnyElementEnabled(RuntimeEnabledFeatures::authorShadowDOMForAnyElementEnabled()) |
+ : m_originalAuthorShadowDOMForAnyElementEnabled(RuntimeEnabledFeatures::authorShadowDOMForAnyElementEnabled()) |
, m_originalCSP(RuntimeEnabledFeatures::experimentalContentSecurityPolicyFeaturesEnabled()) |
, m_originalLaxMixedContentCheckingEnabled(RuntimeEnabledFeatures::laxMixedContentCheckingEnabled()) |
, m_originalOverlayScrollbarsEnabled(RuntimeEnabledFeatures::overlayScrollbarsEnabled()) |
@@ -78,7 +77,6 @@ InternalSettings::Backup::Backup(Settings* settings) |
void InternalSettings::Backup::restoreTo(Settings* settings) |
{ |
- RuntimeEnabledFeatures::setCSSExclusionsEnabled(m_originalCSSExclusionsEnabled); |
RuntimeEnabledFeatures::setAuthorShadowDOMForAnyElementEnabled(m_originalAuthorShadowDOMForAnyElementEnabled); |
RuntimeEnabledFeatures::setExperimentalContentSecurityPolicyFeaturesEnabled(m_originalCSP); |
RuntimeEnabledFeatures::setLaxMixedContentCheckingEnabled(m_originalLaxMixedContentCheckingEnabled); |
@@ -304,11 +302,6 @@ void InternalSettings::setAccessibilityFontScaleFactor(float fontScaleFactor, Ex |
settings()->setAccessibilityFontScaleFactor(fontScaleFactor); |
} |
-void InternalSettings::setCSSExclusionsEnabled(bool enabled) |
-{ |
- RuntimeEnabledFeatures::setCSSExclusionsEnabled(enabled); |
-} |
- |
void InternalSettings::setEditingBehavior(const String& editingBehavior, ExceptionState& exceptionState) |
{ |
InternalSettingsGuardForSettings(); |