Index: Source/core/platform/graphics/IntRect.h |
diff --git a/Source/core/platform/graphics/IntRect.h b/Source/core/platform/graphics/IntRect.h |
index 22ea0d7be3167bbd37fa8354a44b770afab12fc0..a2e3492356f4ffcf5f7dd0f7e0987d4869a9fd9b 100644 |
--- a/Source/core/platform/graphics/IntRect.h |
+++ b/Source/core/platform/graphics/IntRect.h |
@@ -30,7 +30,7 @@ |
#include "wtf/FastAllocBase.h" |
#include "wtf/Vector.h" |
-#if OS(DARWIN) |
+#if OS(MACOSX) |
typedef struct CGRect CGRect; |
#ifdef NSGEOMETRY_TYPES_SAME_AS_CGGEOMETRY_TYPES |
@@ -152,7 +152,7 @@ public: |
IntRect transposedRect() const { return IntRect(m_location.transposedPoint(), m_size.transposedSize()); } |
-#if OS(DARWIN) |
+#if OS(MACOSX) |
operator CGRect() const; |
#if !defined(NSGEOMETRY_TYPES_SAME_AS_CGGEOMETRY_TYPES) |
operator NSRect() const; |
@@ -193,7 +193,7 @@ inline bool operator!=(const IntRect& a, const IntRect& b) |
return a.location() != b.location() || a.size() != b.size(); |
} |
-#if OS(DARWIN) |
+#if OS(MACOSX) |
IntRect enclosingIntRect(const CGRect&); |
#if !defined(NSGEOMETRY_TYPES_SAME_AS_CGGEOMETRY_TYPES) |
IntRect enclosingIntRect(const NSRect&); |