Title: [249952] trunk/Source/WebKit
Revision
249952
Author
[email protected]
Date
2019-09-17 04:04:12 -0700 (Tue, 17 Sep 2019)

Log Message

REGRESSION(r249275): [GTK][WPE] WebPage injected bundle messages no longer work
https://bugs.webkit.org/show_bug.cgi?id=201865

Reviewed by Žan Doberšek.

We use them to implement the web resources API. This is another regression of r249275 because we are using the
page proxy identifier when we really want to the web page identifier.

* UIProcess/API/glib/WebKitWebContext.cpp:
(webkitWebContextGetWebViewForPage): Use WebPageProxy::webPageID() instead of WebPageProxy::identifier().

Modified Paths

Diff

Modified: trunk/Source/WebKit/ChangeLog (249951 => 249952)


--- trunk/Source/WebKit/ChangeLog	2019-09-17 10:12:26 UTC (rev 249951)
+++ trunk/Source/WebKit/ChangeLog	2019-09-17 11:04:12 UTC (rev 249952)
@@ -1,3 +1,16 @@
+2019-09-17  Carlos Garcia Campos  <[email protected]>
+
+        REGRESSION(r249275): [GTK][WPE] WebPage injected bundle messages no longer work
+        https://bugs.webkit.org/show_bug.cgi?id=201865
+
+        Reviewed by Žan Doberšek.
+
+        We use them to implement the web resources API. This is another regression of r249275 because we are using the
+        page proxy identifier when we really want to the web page identifier.
+
+        * UIProcess/API/glib/WebKitWebContext.cpp:
+        (webkitWebContextGetWebViewForPage): Use WebPageProxy::webPageID() instead of WebPageProxy::identifier().
+
 2019-09-17  Dean Jackson  <[email protected]>
 
         Remove the "Show Link Previews" and "Hide Link Previews" action menus in the preview platter

Modified: trunk/Source/WebKit/UIProcess/API/glib/WebKitWebContext.cpp (249951 => 249952)


--- trunk/Source/WebKit/UIProcess/API/glib/WebKitWebContext.cpp	2019-09-17 10:12:26 UTC (rev 249951)
+++ trunk/Source/WebKit/UIProcess/API/glib/WebKitWebContext.cpp	2019-09-17 11:04:12 UTC (rev 249952)
@@ -1780,5 +1780,5 @@
 
 WebKitWebView* webkitWebContextGetWebViewForPage(WebKitWebContext* context, WebPageProxy* page)
 {
-    return page ? context->priv->webViews.get(page->identifier().toUInt64()) : nullptr;
+    return page ? context->priv->webViews.get(page->webPageID().toUInt64()) : nullptr;
 }
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to