Index: Source/core/platform/graphics/FloatRect.h |
diff --git a/Source/core/platform/graphics/FloatRect.h b/Source/core/platform/graphics/FloatRect.h |
index 40bea2b11a7c122f370985b603d80437bf4839b4..e0b631f79dea9ff5653e644e502174d7152b4bcd 100644 |
--- a/Source/core/platform/graphics/FloatRect.h |
+++ b/Source/core/platform/graphics/FloatRect.h |
@@ -30,7 +30,7 @@ |
#include "core/platform/graphics/FloatPoint.h" |
#include "wtf/Vector.h" |
-#if OS(DARWIN) |
+#if OS(MACOSX) |
typedef struct CGRect CGRect; |
#ifdef NSGEOMETRY_TYPES_SAME_AS_CGGEOMETRY_TYPES |
typedef struct CGRect NSRect; |
@@ -160,7 +160,7 @@ public: |
void fitToPoints(const FloatPoint& p0, const FloatPoint& p1, const FloatPoint& p2); |
void fitToPoints(const FloatPoint& p0, const FloatPoint& p1, const FloatPoint& p2, const FloatPoint& p3); |
-#if OS(DARWIN) |
+#if OS(MACOSX) |
FloatRect(const CGRect&); |
operator CGRect() const; |
#if !defined(NSGEOMETRY_TYPES_SAME_AS_CGGEOMETRY_TYPES) |