Chromium Code Reviews| Index: Source/core/platform/graphics/ImageBuffer.h |
| diff --git a/Source/core/platform/graphics/ImageBuffer.h b/Source/core/platform/graphics/ImageBuffer.h |
| index b4c0af9f3398dd1bf1c444c0504560a68ecf1f4a..4afc7ade0b211cc000cd6dd585906389c65545c8 100644 |
| --- a/Source/core/platform/graphics/ImageBuffer.h |
| +++ b/Source/core/platform/graphics/ImageBuffer.h |
| @@ -43,6 +43,7 @@ |
| #include "wtf/Vector.h" |
| class SkCanvas; |
| +class SkColorFilter; |
| namespace WebKit { class WebLayer; } |
| @@ -116,13 +117,10 @@ public: |
| void putByteArray(Multiply multiplied, Uint8ClampedArray*, const IntSize& sourceSize, const IntRect& sourceRect, const IntPoint& destPoint, CoordinateSystem = LogicalCoordinateSystem); |
| - void convertToLuminanceMask(); |
| - |
| String toDataURL(const String& mimeType, const double* quality = 0, CoordinateSystem = LogicalCoordinateSystem) const; |
| AffineTransform baseTransform() const { return AffineTransform(); } |
| void transformColorSpace(ColorSpace srcColorSpace, ColorSpace dstColorSpace); |
| - static const Vector<uint8_t>& getLinearRgbLUT(); |
| - static const Vector<uint8_t>& getDeviceRgbLUT(); |
| + static PassRefPtr<SkColorFilter> createColorSpaceFilter(ColorSpace srcColorSpace, ColorSpace dstColorSpace); |
|
Stephen White
2013/08/28 14:11:10
I think to keep Skia types out of non-platform/ di
f(malita)
2013/08/28 19:54:38
I made this private, currently only accessible fro
|
| WebKit::WebLayer* platformLayer() const; |
| // FIXME: current implementations of this method have the restriction that they only work |