Index: Source/WebCore/platform/graphics/IntPoint.h |
=================================================================== |
--- Source/WebCore/platform/graphics/IntPoint.h (revision 88458) |
+++ Source/WebCore/platform/graphics/IntPoint.h (working copy) |
@@ -37,7 +37,7 @@ |
#endif |
-#if PLATFORM(MAC) |
+#if OS(DARWIN) |
#ifdef NSGEOMETRY_TYPES_SAME_AS_CGGEOMETRY_TYPES |
typedef struct CGPoint NSPoint; |
#else |
@@ -120,7 +120,7 @@ |
operator CGPoint() const; |
#endif |
-#if PLATFORM(MAC) && !defined(NSGEOMETRY_TYPES_SAME_AS_CGGEOMETRY_TYPES) |
+#if OS(DARWIN) && !defined(NSGEOMETRY_TYPES_SAME_AS_CGGEOMETRY_TYPES) |
explicit IntPoint(const NSPoint&); // don't do this implicitly since it's lossy |
operator NSPoint() const; |
#endif |