diff options
author | mark@chromium.org <mark@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-05-14 20:57:50 +0000 |
---|---|---|
committer | mark@chromium.org <mark@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-05-14 20:57:50 +0000 |
commit | bcdab96466efb0d535623eb38ede6ad350176610 (patch) | |
tree | 256a9aa4f447c4ff0a31fc3546f3c239a0688a66 /skia/ext/skia_utils_mac.h | |
parent | 629b32899929cc043154ee54a4bf6364eccf5ce6 (diff) | |
download | chromium_src-bcdab96466efb0d535623eb38ede6ad350176610.zip chromium_src-bcdab96466efb0d535623eb38ede6ad350176610.tar.gz chromium_src-bcdab96466efb0d535623eb38ede6ad350176610.tar.bz2 |
NSSize is equivalent to CGSize in the 64-bit Mac environment.
BUG=44215, 18323
TEST=none
Review URL: http://codereview.chromium.org/2134003
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@47308 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'skia/ext/skia_utils_mac.h')
-rw-r--r-- | skia/ext/skia_utils_mac.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/skia/ext/skia_utils_mac.h b/skia/ext/skia_utils_mac.h index 5ecd451..5b1e187 100644 --- a/skia/ext/skia_utils_mac.h +++ b/skia/ext/skia_utils_mac.h @@ -14,7 +14,11 @@ struct SkIRect; struct SkPoint; struct SkRect; class SkBitmap; +#ifdef __LP64__ +typedef CGSize NSSize; +#else typedef struct _NSSize NSSize; +#endif #ifdef __OBJC__ @class NSImage; |