diff options
Diffstat (limited to 'Source/WebCore/platform/graphics/Color.h')
-rw-r--r-- | Source/WebCore/platform/graphics/Color.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Source/WebCore/platform/graphics/Color.h b/Source/WebCore/platform/graphics/Color.h index 05d9554..02ec005 100644 --- a/Source/WebCore/platform/graphics/Color.h +++ b/Source/WebCore/platform/graphics/Color.h @@ -30,7 +30,7 @@ #include <wtf/Forward.h> #include <wtf/unicode/Unicode.h> -#if PLATFORM(CG) +#if USE(CG) #include "ColorSpace.h" typedef struct CGColor* CGColorRef; #endif @@ -143,7 +143,7 @@ public: operator wxColour() const; #endif -#if PLATFORM(CG) +#if USE(CG) Color(CGColorRef); #endif @@ -191,7 +191,7 @@ inline bool operator!=(const Color& a, const Color& b) Color colorFromPremultipliedARGB(unsigned); unsigned premultipliedARGBFromColor(const Color&); -#if PLATFORM(CG) +#if USE(CG) CGColorRef cachedCGColor(const Color&, ColorSpace); #endif |