Make WebKitGraphics able to handle grayscale colors
[WebKit-https.git] / WebCore / platform / graphics / Color.h
index dcca6a54841389a9ab042b4b65c4cd5f43303ee8..5706c6f84cbe8dbf6317203f32f5d7e3c3f912e6 100644 (file)
@@ -105,6 +105,10 @@ public:
     operator wxColour() const;
 #endif
 
+#if PLATFORM(CG)
+    Color(CGColorRef);
+#endif
+
     static bool parseHexColor(const String& name, RGBA32& rgb);
 
     static const RGBA32 black = 0xFF000000;