Title: [286463] branches/safari-612-branch/Source/WebCore/page/csp/ContentSecurityPolicy.cpp
Revision
286463
Author
alanc...@apple.com
Date
2021-12-02 16:14:48 -0800 (Thu, 02 Dec 2021)

Log Message

Unreviewed build fix. rdar://problem/85943167

candidate function not viable: no known conversion from 'const WTF::String' to 'const WTF::URL' for 3rd argument

Modified Paths

Diff

Modified: branches/safari-612-branch/Source/WebCore/page/csp/ContentSecurityPolicy.cpp (286462 => 286463)


--- branches/safari-612-branch/Source/WebCore/page/csp/ContentSecurityPolicy.cpp	2021-12-03 00:12:52 UTC (rev 286462)
+++ branches/safari-612-branch/Source/WebCore/page/csp/ContentSecurityPolicy.cpp	2021-12-03 00:14:48 UTC (rev 286463)
@@ -570,7 +570,7 @@
     TextPosition sourcePosition(WTF::OrdinalNumber::beforeFirst(), WTF::OrdinalNumber());
     auto handleViolatedDirective = [&] (const ContentSecurityPolicyDirective& violatedDirective) {
         String consoleMessage = consoleMessageForViolation(name, violatedDirective, blockedURL, "Refused to load");
-        reportViolation(name, violatedDirective, blockedURL.string(), consoleMessage, sourceURL, sourcePosition);
+        reportViolation(name, violatedDirective, blockedURL, consoleMessage, sourceURL, sourcePosition);
     };
     return allPoliciesAllow(WTFMove(handleViolatedDirective), resourcePredicate, url, redirectResponseReceived == RedirectResponseReceived::Yes);
 }
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to