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