summaryrefslogtreecommitdiffstats
path: root/WebCore/platform/graphics/Color.h
diff options
context:
space:
mode:
Diffstat (limited to 'WebCore/platform/graphics/Color.h')
-rw-r--r--WebCore/platform/graphics/Color.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/WebCore/platform/graphics/Color.h b/WebCore/platform/graphics/Color.h
index 22a8a8f..276e69f 100644
--- a/WebCore/platform/graphics/Color.h
+++ b/WebCore/platform/graphics/Color.h
@@ -1,5 +1,5 @@
/*
- * Copyright (C) 2003-6 Apple Computer, Inc. All rights reserved.
+ * Copyright (C) 2003, 2004, 2005, 2006, 2010 Apple Inc. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
@@ -31,6 +31,7 @@
#include <wtf/unicode/Unicode.h>
#if PLATFORM(CG)
+#include "ColorSpace.h"
typedef struct CGColor* CGColorRef;
#endif
@@ -180,7 +181,7 @@ Color colorFromPremultipliedARGB(unsigned);
unsigned premultipliedARGBFromColor(const Color&);
#if PLATFORM(CG)
-CGColorRef createCGColor(const Color&);
+CGColorRef cachedCGColor(const Color&, ColorSpace);
#endif
} // namespace WebCore