Title: [255348] trunk/Source/WebKit
Revision
255348
Author
carlo...@webkit.org
Date
2020-01-29 02:38:04 -0800 (Wed, 29 Jan 2020)

Log Message

Unreviewed. Move unsetenv to WebProcessMain.cpp after r255342

I forgot to do that before landing the patch.

* WebProcess/EntryPoint/unix/WebProcessMain.cpp:
(main):
* WebProcess/gtk/WebProcessMainGtk.cpp:

Modified Paths

Diff

Modified: trunk/Source/WebKit/ChangeLog (255347 => 255348)


--- trunk/Source/WebKit/ChangeLog	2020-01-29 10:35:27 UTC (rev 255347)
+++ trunk/Source/WebKit/ChangeLog	2020-01-29 10:38:04 UTC (rev 255348)
@@ -1,3 +1,13 @@
+2020-01-29  Carlos Garcia Campos  <cgar...@igalia.com>
+
+        Unreviewed. Move unsetenv to WebProcessMain.cpp after r255342
+
+        I forgot to do that before landing the patch.
+
+        * WebProcess/EntryPoint/unix/WebProcessMain.cpp:
+        (main):
+        * WebProcess/gtk/WebProcessMainGtk.cpp:
+
 2020-01-29  youenn fablet  <you...@apple.com>
 
         Send WebsiteDataStore media parameters to GPUProcess when needed

Modified: trunk/Source/WebKit/WebProcess/EntryPoint/unix/WebProcessMain.cpp (255347 => 255348)


--- trunk/Source/WebKit/WebProcess/EntryPoint/unix/WebProcessMain.cpp	2020-01-29 10:35:27 UTC (rev 255347)
+++ trunk/Source/WebKit/WebProcess/EntryPoint/unix/WebProcessMain.cpp	2020-01-29 10:38:04 UTC (rev 255348)
@@ -35,6 +35,9 @@
 
 int main(int argc, char** argv)
 {
+    // Ignore the GTK_THEME environment variable, the theme is always set by the UI process now.
+    unsetenv("GTK_THEME");
+
 #if USE(GCRYPT)
     PAL::GCrypt::initialize();
 #endif

Modified: trunk/Source/WebKit/WebProcess/gtk/WebProcessMainGtk.cpp (255347 => 255348)


--- trunk/Source/WebKit/WebProcess/gtk/WebProcessMainGtk.cpp	2020-01-29 10:35:27 UTC (rev 255347)
+++ trunk/Source/WebKit/WebProcess/gtk/WebProcessMainGtk.cpp	2020-01-29 10:38:04 UTC (rev 255348)
@@ -54,9 +54,6 @@
         XInitThreads();
 #endif
 
-        // Ignore the GTK_THEME environment variable, the theme is always set by the UI process now.
-        g_unsetenv("GTK_THEME");
-
         gtk_init(nullptr, nullptr);
 
         bindtextdomain(GETTEXT_PACKAGE, LOCALEDIR);
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to