Title: [186866] trunk/Source/WebCore
- Revision
- 186866
- Author
- [email protected]
- Date
- 2015-07-15 15:39:50 -0700 (Wed, 15 Jul 2015)
Log Message
Headers that look for NSGEOMETRY_TYPES_SAME_AS_CGGEOMETRY_TYPES should import NSGeometry.h
https://bugs.webkit.org/show_bug.cgi?id=146982
Reviewed by Tim Horton.
* platform/graphics/FloatPoint.h:
* platform/graphics/IntPoint.h:
* platform/graphics/IntSize.h:
Modified Paths
Diff
Modified: trunk/Source/WebCore/ChangeLog (186865 => 186866)
--- trunk/Source/WebCore/ChangeLog 2015-07-15 22:33:44 UTC (rev 186865)
+++ trunk/Source/WebCore/ChangeLog 2015-07-15 22:39:50 UTC (rev 186866)
@@ -1,3 +1,14 @@
+2015-07-15 Anders Carlsson <[email protected]>
+
+ Headers that look for NSGEOMETRY_TYPES_SAME_AS_CGGEOMETRY_TYPES should import NSGeometry.h
+ https://bugs.webkit.org/show_bug.cgi?id=146982
+
+ Reviewed by Tim Horton.
+
+ * platform/graphics/FloatPoint.h:
+ * platform/graphics/IntPoint.h:
+ * platform/graphics/IntSize.h:
+
2015-07-15 Wenson Hsieh <[email protected]>
Scroll snapping to elements is broken for main frame scrolling
Modified: trunk/Source/WebCore/platform/graphics/FloatPoint.h (186865 => 186866)
--- trunk/Source/WebCore/platform/graphics/FloatPoint.h 2015-07-15 22:33:44 UTC (rev 186865)
+++ trunk/Source/WebCore/platform/graphics/FloatPoint.h 2015-07-15 22:39:50 UTC (rev 186866)
@@ -31,6 +31,10 @@
#include "IntPoint.h"
#include <wtf/MathExtras.h>
+#if PLATFORM(MAC) && defined __OBJC__
+#import <Foundation/NSGeometry.h>
+#endif
+
#if USE(CG)
typedef struct CGPoint CGPoint;
#endif
Modified: trunk/Source/WebCore/platform/graphics/IntPoint.h (186865 => 186866)
--- trunk/Source/WebCore/platform/graphics/IntPoint.h 2015-07-15 22:33:44 UTC (rev 186865)
+++ trunk/Source/WebCore/platform/graphics/IntPoint.h 2015-07-15 22:39:50 UTC (rev 186866)
@@ -29,6 +29,10 @@
#include "IntSize.h"
#include <cmath>
+#if PLATFORM(MAC) && defined __OBJC__
+#import <Foundation/NSGeometry.h>
+#endif
+
#if USE(CG)
typedef struct CGPoint CGPoint;
#endif
Modified: trunk/Source/WebCore/platform/graphics/IntSize.h (186865 => 186866)
--- trunk/Source/WebCore/platform/graphics/IntSize.h 2015-07-15 22:33:44 UTC (rev 186865)
+++ trunk/Source/WebCore/platform/graphics/IntSize.h 2015-07-15 22:39:50 UTC (rev 186866)
@@ -26,8 +26,13 @@
#ifndef IntSize_h
#define IntSize_h
+#include "PlatformExportMacros.h"
#include <algorithm>
+#if PLATFORM(MAC) && defined __OBJC__
+#import <Foundation/NSGeometry.h>
+#endif
+
#if USE(CG)
typedef struct CGSize CGSize;
#endif
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes