@@ -6131,10 +6131,20 @@ index 0000000000000000000000000000000000000000..1bff4e694f19264d1be418198b792178
6131
6131
+
6132
6132
+WebKit::WebPageProxy* webkitBrowserInspectorCreateNewPageInContext(WebKitWebContext*);
6133
6133
diff --git a/Source/WebKit/UIProcess/API/glib/WebKitUIClient.cpp b/Source/WebKit/UIProcess/API/glib/WebKitUIClient.cpp
6134
- index f769407fdc660c6f6fef77af90a43bd5dca9d544..ba010ed593bdedc0d70e4f4d3139e73d3c395463 100644
6134
+ index f769407fdc660c6f6fef77af90a43bd5dca9d544..bee8a907fb9a7924d9551d9aa64d98fb8c5746de 100644
6135
6135
--- a/Source/WebKit/UIProcess/API/glib/WebKitUIClient.cpp
6136
6136
+++ b/Source/WebKit/UIProcess/API/glib/WebKitUIClient.cpp
6137
- @@ -91,6 +91,10 @@ private:
6137
+ @@ -64,7 +64,8 @@ private:
6138
+ void createNewPage(WebPageProxy& page, WebCore::WindowFeatures&& windowFeatures, Ref<API::NavigationAction>&& apiNavigationAction, CompletionHandler<void(RefPtr<WebPageProxy>&&)>&& completionHandler) final
6139
+ {
6140
+ WebKitNavigationAction navigationAction(WTFMove(apiNavigationAction));
6141
+ - completionHandler(webkitWebViewCreateNewPage(m_webView, windowFeatures, &navigationAction));
6142
+ + WebPageProxy* newPage = webkitWebViewCreateNewPage(m_webView, windowFeatures, &navigationAction);
6143
+ + completionHandler(adoptRef(newPage));
6144
+ }
6145
+
6146
+ void showPage(WebPageProxy*) final
6147
+ @@ -91,6 +92,10 @@ private:
6138
6148
{
6139
6149
webkitWebViewRunJavaScriptPrompt(m_webView, message.utf8(), defaultValue.utf8(), WTFMove(completionHandler));
6140
6150
}
0 commit comments