Title: [119800] trunk/Source/WebKit2
Revision
119800
Author
[email protected]
Date
2012-06-07 22:48:07 -0700 (Thu, 07 Jun 2012)

Log Message

[WebKit2] Explicitly include CoreFoundation.h in config.h
https://bugs.webkit.org/show_bug.cgi?id=88619

Reviewed by Dan Bernstein.

WebKit2 relies (probably unintentionally) on CoreFoundation.h being
included by CoreGraphics.h (via CGSession.h), but some versions of
CoreGraphics headers don't include CoreFoundation.h. WebKit2 should
include it explicitly in config.h.

* config.h: Import CoreFoundation.h.

Modified Paths

Diff

Modified: trunk/Source/WebKit2/ChangeLog (119799 => 119800)


--- trunk/Source/WebKit2/ChangeLog	2012-06-08 05:29:01 UTC (rev 119799)
+++ trunk/Source/WebKit2/ChangeLog	2012-06-08 05:48:07 UTC (rev 119800)
@@ -1,5 +1,19 @@
 2012-06-07  Andy Estes  <[email protected]>
 
+        [WebKit2] Explicitly include CoreFoundation.h in config.h
+        https://bugs.webkit.org/show_bug.cgi?id=88619
+
+        Reviewed by Dan Bernstein.
+
+        WebKit2 relies (probably unintentionally) on CoreFoundation.h being
+        included by CoreGraphics.h (via CGSession.h), but some versions of
+        CoreGraphics headers don't include CoreFoundation.h. WebKit2 should
+        include it explicitly in config.h.
+
+        * config.h: Import CoreFoundation.h.
+
+2012-06-07  Andy Estes  <[email protected]>
+
         [WebKit2] Only include Cocoa.h on platforms that use AppKit
         https://bugs.webkit.org/show_bug.cgi?id=88517
 

Modified: trunk/Source/WebKit2/config.h (119799 => 119800)


--- trunk/Source/WebKit2/config.h	2012-06-08 05:29:01 UTC (rev 119799)
+++ trunk/Source/WebKit2/config.h	2012-06-08 05:48:07 UTC (rev 119800)
@@ -73,6 +73,7 @@
 #define ENABLE_MEMORY_SAMPLER 1
 #endif
 
+#import <CoreFoundation/CoreFoundation.h>
 #import <CoreGraphics/CoreGraphics.h>
 
 #include <WebCore/EmptyProtocolDefinitions.h>
_______________________________________________
webkit-changes mailing list
[email protected]
http://lists.webkit.org/mailman/listinfo.cgi/webkit-changes

Reply via email to