Title: [286137] trunk/Source/WebKit
Revision
286137
Author
[email protected]
Date
2021-11-23 11:44:42 -0800 (Tue, 23 Nov 2021)

Log Message

[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: trunk/Source/WebKit/ChangeLog (286136 => 286137)


--- trunk/Source/WebKit/ChangeLog	2021-11-23 16:24:27 UTC (rev 286136)
+++ trunk/Source/WebKit/ChangeLog	2021-11-23 19:44:42 UTC (rev 286137)
@@ -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-11-23  Carlos Garcia Campos  <[email protected]>
 
         [GTK] Many network process crashes when running WPT tests

Modified: trunk/Source/WebKit/WebProcess/WebPage/WebPage.cpp (286136 => 286137)


--- trunk/Source/WebKit/WebProcess/WebPage/WebPage.cpp	2021-11-23 16:24:27 UTC (rev 286136)
+++ trunk/Source/WebKit/WebProcess/WebPage/WebPage.cpp	2021-11-23 19:44:42 UTC (rev 286137)
@@ -991,6 +991,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