Title: [190557] trunk/Source/WebCore
Revision
190557
Author
[email protected]
Date
2015-10-05 00:04:44 -0700 (Mon, 05 Oct 2015)

Log Message

Make gdk.h inclusion in FontPlatformDataFreeType.cpp properly GTK-specific
https://bugs.webkit.org/show_bug.cgi?id=149793

Reviewed by Carlos Garcia Campos.

* platform/graphics/freetype/FontPlatformDataFreeType.cpp:
Instead of including <gdk/gdk.h> header for all platforms but EFL, only
include it for the GTK platform, since no other platform depends on the
GDK library.

Modified Paths

Diff

Modified: trunk/Source/WebCore/ChangeLog (190556 => 190557)


--- trunk/Source/WebCore/ChangeLog	2015-10-05 05:55:37 UTC (rev 190556)
+++ trunk/Source/WebCore/ChangeLog	2015-10-05 07:04:44 UTC (rev 190557)
@@ -1,3 +1,15 @@
+2015-10-05  Zan Dobersek  <[email protected]>
+
+        Make gdk.h inclusion in FontPlatformDataFreeType.cpp properly GTK-specific
+        https://bugs.webkit.org/show_bug.cgi?id=149793
+
+        Reviewed by Carlos Garcia Campos.
+
+        * platform/graphics/freetype/FontPlatformDataFreeType.cpp:
+        Instead of including <gdk/gdk.h> header for all platforms but EFL, only
+        include it for the GTK platform, since no other platform depends on the
+        GDK library.
+
 2015-10-03  Ricky Mondello  <[email protected]>
 
         "Plug-in is blocked" message doesn't draw correctly

Modified: trunk/Source/WebCore/platform/graphics/freetype/FontPlatformDataFreeType.cpp (190556 => 190557)


--- trunk/Source/WebCore/platform/graphics/freetype/FontPlatformDataFreeType.cpp	2015-10-05 05:55:37 UTC (rev 190556)
+++ trunk/Source/WebCore/platform/graphics/freetype/FontPlatformDataFreeType.cpp	2015-10-05 07:04:44 UTC (rev 190557)
@@ -35,7 +35,7 @@
 #include <wtf/MathExtras.h>
 #include <wtf/text/WTFString.h>
 
-#if !PLATFORM(EFL)
+#if PLATFORM(GTK)
 #include <gdk/gdk.h>
 #endif
 
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to