Title: [213708] trunk/Source/WebKit2
Revision
213708
Author
zandober...@gmail.com
Date
2017-03-10 05:02:16 -0800 (Fri, 10 Mar 2017)

Log Message

[WK2] Guard GLib-specific typedefs in InjectedBundle.h with USE(GLIB)
https://bugs.webkit.org/show_bug.cgi?id=169464

Reviewed by Carlos Garcia Campos.

* WebProcess/InjectedBundle/InjectedBundle.h: Use the more appropriate
USE(GLIB) guard for the two typedefs revolving around GModule, instead
of the PLATFORM(GTK) guard.

Modified Paths

Diff

Modified: trunk/Source/WebKit2/ChangeLog (213707 => 213708)


--- trunk/Source/WebKit2/ChangeLog	2017-03-10 11:56:19 UTC (rev 213707)
+++ trunk/Source/WebKit2/ChangeLog	2017-03-10 13:02:16 UTC (rev 213708)
@@ -1,3 +1,14 @@
+2017-03-10  Zan Dobersek  <zdober...@igalia.com>
+
+        [WK2] Guard GLib-specific typedefs in InjectedBundle.h with USE(GLIB)
+        https://bugs.webkit.org/show_bug.cgi?id=169464
+
+        Reviewed by Carlos Garcia Campos.
+
+        * WebProcess/InjectedBundle/InjectedBundle.h: Use the more appropriate
+        USE(GLIB) guard for the two typedefs revolving around GModule, instead
+        of the PLATFORM(GTK) guard.
+
 2017-03-09  Tomas Popela  <tpop...@redhat.com>
 
         Unreviewed, fix documentation typos

Modified: trunk/Source/WebKit2/WebProcess/InjectedBundle/InjectedBundle.h (213707 => 213708)


--- trunk/Source/WebKit2/WebProcess/InjectedBundle/InjectedBundle.h	2017-03-10 11:56:19 UTC (rev 213707)
+++ trunk/Source/WebKit2/WebProcess/InjectedBundle/InjectedBundle.h	2017-03-10 13:02:16 UTC (rev 213708)
@@ -36,7 +36,7 @@
 #include <wtf/RetainPtr.h>
 #include <wtf/text/WTFString.h>
 
-#if PLATFORM(GTK)
+#if USE(GLIB)
 typedef struct _GModule GModule;
 #endif
 
@@ -61,7 +61,7 @@
 
 #if USE(FOUNDATION)
 typedef NSBundle *PlatformBundle;
-#elif PLATFORM(GTK)
+#elif USE(GLIB)
 typedef ::GModule* PlatformBundle;
 #endif
 
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to