Index: Source/web/WebSecurityPolicy.cpp |
diff --git a/Source/web/WebSecurityPolicy.cpp b/Source/web/WebSecurityPolicy.cpp |
index df415c8e00387d4ab75cc2ee6fc2ee399ea6c3fd..2f2b5d388e3b6c5330f0e4f38ab53741181a41b4 100644 |
--- a/Source/web/WebSecurityPolicy.cpp |
+++ b/Source/web/WebSecurityPolicy.cpp |
@@ -96,6 +96,11 @@ void WebSecurityPolicy::registerURLSchemeAsBypassingContentSecurityPolicy(const |
SchemeRegistry::registerURLSchemeAsBypassingContentSecurityPolicy(scheme, static_cast<SchemeRegistry::PolicyAreas>(policyAreas)); |
} |
+void WebSecurityPolicy::registerURLSchemeAsFirstPartyWhenTopLevel(const WebString& scheme) |
+{ |
+ SchemeRegistry::registerURLSchemeAsFirstPartyWhenTopLevel(scheme); |
+} |
+ |
void WebSecurityPolicy::registerURLSchemeAsEmptyDocument(const WebString& scheme) |
{ |
SchemeRegistry::registerURLSchemeAsEmptyDocument(scheme); |