summaryrefslogtreecommitdiffstats
path: root/Source/WebCore/platform/graphics/IntSize.h
diff options
context:
space:
mode:
Diffstat (limited to 'Source/WebCore/platform/graphics/IntSize.h')
-rw-r--r--Source/WebCore/platform/graphics/IntSize.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/WebCore/platform/graphics/IntSize.h b/Source/WebCore/platform/graphics/IntSize.h
index 9db2224..8cfabf5 100644
--- a/Source/WebCore/platform/graphics/IntSize.h
+++ b/Source/WebCore/platform/graphics/IntSize.h
@@ -26,7 +26,7 @@
#ifndef IntSize_h
#define IntSize_h
-#if PLATFORM(CG)
+#if USE(CG) || USE(SKIA_ON_MAC_CHROME)
typedef struct CGSize CGSize;
#endif
@@ -109,7 +109,7 @@ public:
return IntSize(m_height, m_width);
}
-#if PLATFORM(CG)
+#if USE(CG) || USE(SKIA_ON_MAC_CHROME)
explicit IntSize(const CGSize&); // don't do this implicitly since it's lossy
operator CGSize() const;
#endif