Index: third_party/WebKit/Source/platform/graphics/ColorSpaceFilterCache.h |
diff --git a/third_party/WebKit/Source/platform/graphics/ColorSpaceFilterCache.h b/third_party/WebKit/Source/platform/graphics/ColorSpaceFilterCache.h |
new file mode 100644 |
index 0000000000000000000000000000000000000000..4cedaee3323f02cc28323aa665539869dbd01dfc |
--- /dev/null |
+++ b/third_party/WebKit/Source/platform/graphics/ColorSpaceFilterCache.h |
@@ -0,0 +1,23 @@ |
+// Copyright 2015 The Chromium Authors. All rights reserved. |
+// Use of this source code is governed by a BSD-style license that can be |
+// found in the LICENSE file. |
+ |
+#ifndef ColorSpaceFilterCache_h |
+#define ColorSpaceFilterCache_h |
+ |
+#include "platform/PlatformExport.h" |
+#include "wtf/PassRefPtr.h" |
+ |
+class SkColorFilter; |
+ |
+namespace blink { |
+ |
+class ColorSpaceProfile; |
+ |
+PLATFORM_EXPORT PassRefPtr<SkColorFilter> findColorTransform(ColorSpaceProfile* source, ColorSpaceProfile* target); |
+PLATFORM_EXPORT void cacheColorTransform(ColorSpaceProfile* source, ColorSpaceProfile* target, SkColorFilter*); |
+PLATFORM_EXPORT void pruneColorTransform(ColorSpaceProfile* target); |
+ |
+} // namespace blink |
+ |
+#endif // ColorSpaceFilterCache_h |