summaryrefslogtreecommitdiffstats
path: root/Source/WebKit2/Shared/WebGraphicsContext.h
diff options
context:
space:
mode:
Diffstat (limited to 'Source/WebKit2/Shared/WebGraphicsContext.h')
-rw-r--r--Source/WebKit2/Shared/WebGraphicsContext.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/Source/WebKit2/Shared/WebGraphicsContext.h b/Source/WebKit2/Shared/WebGraphicsContext.h
index ddb2e34..5f72aae 100644
--- a/Source/WebKit2/Shared/WebGraphicsContext.h
+++ b/Source/WebKit2/Shared/WebGraphicsContext.h
@@ -30,7 +30,7 @@
#include <WebCore/GraphicsContext.h>
#include <wtf/PassRefPtr.h>
-#if PLATFORM(CG)
+#if USE(CG)
#include <wtf/RetainPtr.h>
#elif PLATFORM(GTK)
#include "RefPtrCairo.h"
@@ -47,7 +47,7 @@ public:
return adoptRef(new WebGraphicsContext(graphicsContext));
}
-#if PLATFORM(CG)
+#if USE(CG)
CGContextRef platformContext() { return m_platformContext.get(); }
#elif PLATFORM(GTK)
cairo_t* platformContext() { return m_platformContext.get(); }
@@ -59,7 +59,7 @@ private:
virtual Type type() const { return APIType; }
-#if PLATFORM(CG)
+#if USE(CG)
RetainPtr<CGContextRef> m_platformContext;
#elif PLATFORM(GTK)
RefPtr<cairo_t> m_platformContext;