Index: Source/WebCore/testing/InternalSettings.cpp |
diff --git a/Source/WebCore/testing/InternalSettings.cpp b/Source/WebCore/testing/InternalSettings.cpp |
index 4c745d65335a7ec586248cc15ef66a884c4e7dde..ad73b10ae3afd82ea172e07de004c5a3257158ef 100644 |
--- a/Source/WebCore/testing/InternalSettings.cpp |
+++ b/Source/WebCore/testing/InternalSettings.cpp |
@@ -403,20 +403,6 @@ bool InternalSettings::shouldDisplayTrackKind(const String& kind, ExceptionCode& |
#endif |
} |
-void InternalSettings::setStorageBlockingPolicy(const String& mode, ExceptionCode& ec) |
-{ |
- InternalSettingsGuardForSettings(); |
- |
- if (mode == "AllowAll") |
- settings()->setStorageBlockingPolicy(SecurityOrigin::AllowAllStorage); |
- else if (mode == "BlockThirdParty") |
- settings()->setStorageBlockingPolicy(SecurityOrigin::BlockThirdPartyStorage); |
- else if (mode == "BlockAll") |
- settings()->setStorageBlockingPolicy(SecurityOrigin::BlockAllStorage); |
- else |
- ec = SYNTAX_ERR; |
-} |
- |
void InternalSettings::setLangAttributeAwareFormControlUIEnabled(bool enabled) |
{ |
RuntimeEnabledFeatures::setLangAttributeAwareFormControlUIEnabled(enabled); |