Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1755)

Unified Diff: Source/core/platform/graphics/IntRect.h

Issue 14107015: Rename OS(DARWIN) to OS(MACOSX). (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Rebase Created 7 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « Source/core/platform/graphics/IntPoint.h ('k') | Source/core/platform/graphics/IntSize.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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&);
« no previous file with comments | « Source/core/platform/graphics/IntPoint.h ('k') | Source/core/platform/graphics/IntSize.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698