Title: [293144] branches/safari-613-branch/Source/WebKit/UIProcess/WebPageProxy.cpp
Revision
293144
Author
[email protected]
Date
2022-04-20 21:51:24 -0700 (Wed, 20 Apr 2022)

Log Message

Unreviewed build fix. rdar://91446317

Source/WebKit/UIProcess/WebPageProxy.cpp:3499:17: error: no matching constructor for initialization of 'WTF::URL'

Modified Paths

Diff

Modified: branches/safari-613-branch/Source/WebKit/UIProcess/WebPageProxy.cpp (293143 => 293144)


--- branches/safari-613-branch/Source/WebKit/UIProcess/WebPageProxy.cpp	2022-04-21 04:08:17 UTC (rev 293143)
+++ branches/safari-613-branch/Source/WebKit/UIProcess/WebPageProxy.cpp	2022-04-21 04:51:24 UTC (rev 293144)
@@ -3496,7 +3496,7 @@
         auto item = navigation->reloadItem() ? navigation->reloadItem() : navigation->targetItem();
         std::optional<SandboxExtension::Handle> optionalHandle;
         if (policyAction == PolicyAction::Use && item) {
-            URL fullURL { item->url() };
+            URL fullURL { URL(), item->url() };
             if (fullURL.protocolIs("file"_s)) {
                 SandboxExtension::Handle sandboxExtensionHandle;
                 maybeInitializeSandboxExtensionHandle(processForNavigation.get(), fullURL, item->resourceDirectoryURL(), sandboxExtensionHandle);
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to