Index: Source/platform/graphics/ImageBuffer.cpp |
diff --git a/Source/platform/graphics/ImageBuffer.cpp b/Source/platform/graphics/ImageBuffer.cpp |
index 9f3399be2ea04333b8b859878e8165871f85af5b..ec447d10ffa1539719c1f2a90d9c428ec9e4b241 100644 |
--- a/Source/platform/graphics/ImageBuffer.cpp |
+++ b/Source/platform/graphics/ImageBuffer.cpp |
@@ -52,7 +52,6 @@ |
#include "public/platform/WebGraphicsContext3D.h" |
#include "public/platform/WebGraphicsContext3DProvider.h" |
#include "third_party/skia/include/core/SkPicture.h" |
-#include "third_party/skia/include/effects/SkTableColorFilter.h" |
#include "wtf/ArrayBufferContents.h" |
#include "wtf/MathExtras.h" |
#include "wtf/Vector.h" |
@@ -288,16 +287,6 @@ void ImageBuffer::flush() |
} |
} |
-PassRefPtr<SkColorFilter> ImageBuffer::createColorSpaceFilter(ColorSpace srcColorSpace, |
- ColorSpace dstColorSpace) |
-{ |
- const uint8_t* lut = ColorSpaceUtilities::getConversionLUT(dstColorSpace, srcColorSpace); |
- if (!lut) |
- return nullptr; |
- |
- return adoptRef(SkTableColorFilter::CreateARGB(0, lut, lut, lut)); |
-} |
- |
bool ImageBuffer::getImageData(Multiply multiplied, const IntRect& rect, WTF::ArrayBufferContents& contents) const |
{ |
Checked<int, RecordOverflow> dataSize = 4; |