Title: [286143] releases/WebKitGTK/webkit-2.34/Source/WebKit
Revision
286143
Author
[email protected]
Date
2021-11-24 01:22:32 -0800 (Wed, 24 Nov 2021)

Log Message

Merge r286137 - [GTK] Effective appearance doesn't update on the old process after PSON
https://bugs.webkit.org/show_bug.cgi?id=233451

Reviewed by Michael Catanzaro.

When reinitializing a WebPage, we get effective appearance from the page creation
parameters. Actually apply them.

* WebProcess/WebPage/WebPage.cpp:
(WebKit::WebPage::reinitializeWebPage):

Modified Paths

Diff

Modified: releases/WebKitGTK/webkit-2.34/Source/WebKit/ChangeLog (286142 => 286143)


--- releases/WebKitGTK/webkit-2.34/Source/WebKit/ChangeLog	2021-11-24 06:20:34 UTC (rev 286142)
+++ releases/WebKitGTK/webkit-2.34/Source/WebKit/ChangeLog	2021-11-24 09:22:32 UTC (rev 286143)
@@ -1,3 +1,16 @@
+2021-11-23  Alexander Mikhaylenko  <[email protected]>
+
+        [GTK] Effective appearance doesn't update on the old process after PSON
+        https://bugs.webkit.org/show_bug.cgi?id=233451
+
+        Reviewed by Michael Catanzaro.
+
+        When reinitializing a WebPage, we get effective appearance from the page creation
+        parameters. Actually apply them.
+
+        * WebProcess/WebPage/WebPage.cpp:
+        (WebKit::WebPage::reinitializeWebPage):
+
 2021-10-21  Adrian Perez de Castro  <[email protected]>
 
         Unreviewed. Update OptionsWPE.cmake and NEWS for the 2.34.1 release

Modified: releases/WebKitGTK/webkit-2.34/Source/WebKit/WebProcess/WebPage/WebPage.cpp (286142 => 286143)


--- releases/WebKitGTK/webkit-2.34/Source/WebKit/WebProcess/WebPage/WebPage.cpp	2021-11-24 06:20:34 UTC (rev 286142)
+++ releases/WebKitGTK/webkit-2.34/Source/WebKit/WebProcess/WebPage/WebPage.cpp	2021-11-24 09:22:32 UTC (rev 286143)
@@ -977,6 +977,8 @@
     GtkSettingsManagerProxy::singleton().applySettings(WTFMove(parameters.gtkSettings));
 #endif
 
+    effectiveAppearanceDidChange(parameters.useDarkAppearance, parameters.useElevatedUserInterfaceLevel);
+
     platformReinitialize();
 }
 
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to