[webkit-changes] [WebKit/WebKit] 6461ef: [WPE] Create the WebPageProxy after initializing a...

Carlos Garcia Campos noreply at github.com
Tue Jul 2 00:58:31 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 6461ef8e6cca4c13ffd021cf66d35182a156255f
      https://github.com/WebKit/WebKit/commit/6461ef8e6cca4c13ffd021cf66d35182a156255f
  Author: Carlos Garcia Campos <cgarcia at igalia.com>
  Date:   2024-07-02 (Tue, 02 Jul 2024)

  Changed paths:
    M Source/WebKit/UIProcess/API/wpe/WPEWebView.cpp
    M Source/WebKit/UIProcess/API/wpe/WPEWebView.h
    M Source/WebKit/UIProcess/API/wpe/WPEWebViewLegacy.cpp
    M Source/WebKit/UIProcess/API/wpe/WPEWebViewPlatform.cpp
    M Source/WebKit/UIProcess/wpe/WebPreferencesWPE.cpp

  Log Message:
  -----------
  [WPE] Create the WebPageProxy after initializing activity state flags
https://bugs.webkit.org/show_bug.cgi?id=276062

Reviewed by Nikolas Zimmermann.

WebPageProxy queries the page client in the constructor to initialize
the activity flags. If we initialize the WKWPE::View flags before
creating the page we save an IPC message.

* Source/WebKit/UIProcess/API/wpe/WPEWebView.cpp:
(WKWPE::View::View):
(WKWPE::View::createWebPage):
* Source/WebKit/UIProcess/API/wpe/WPEWebView.h:
* Source/WebKit/UIProcess/API/wpe/WPEWebViewLegacy.cpp:
(WKWPE::ViewLegacy::ViewLegacy):
* Source/WebKit/UIProcess/API/wpe/WPEWebViewPlatform.cpp:
(WKWPE::ViewPlatform::ViewPlatform):
* Source/WebKit/UIProcess/wpe/WebPreferencesWPE.cpp:
(WebKit::WebPreferences::platformInitializeStore):

Canonical link: https://commits.webkit.org/280567@main



To unsubscribe from these emails, change your notification settings at https://github.com/WebKit/WebKit/settings/notifications


More information about the webkit-changes mailing list