Index: Source/platform/graphics/GraphicsContext.cpp |
diff --git a/Source/platform/graphics/GraphicsContext.cpp b/Source/platform/graphics/GraphicsContext.cpp |
index 1dab2a8c00844b8b312a4636a0479b00b2071769..927f44dcd19cacd9bfdc402a17104ee63c637592 100644 |
--- a/Source/platform/graphics/GraphicsContext.cpp |
+++ b/Source/platform/graphics/GraphicsContext.cpp |
@@ -30,6 +30,7 @@ |
#include "platform/RuntimeEnabledFeatures.h" |
#include "platform/TraceEvent.h" |
#include "platform/geometry/IntRect.h" |
+#include "platform/graphics/ColorSpace.h" |
#include "platform/graphics/Gradient.h" |
#include "platform/graphics/ImageBuffer.h" |
#include "platform/weborigin/KURL.h" |
@@ -1524,9 +1525,9 @@ PassRefPtr<SkColorFilter> GraphicsContext::WebCoreColorFilterToSkiaColorFilter(C |
case ColorFilterLuminanceToAlpha: |
return adoptRef(SkLumaColorFilter::Create()); |
case ColorFilterLinearRGBToSRGB: |
- return ImageBuffer::createColorSpaceFilter(ColorSpaceLinearRGB, ColorSpaceDeviceRGB); |
+ return ColorSpaceUtilities::createColorSpaceFilter(ColorSpaceLinearRGB, ColorSpaceDeviceRGB); |
case ColorFilterSRGBToLinearRGB: |
- return ImageBuffer::createColorSpaceFilter(ColorSpaceDeviceRGB, ColorSpaceLinearRGB); |
+ return ColorSpaceUtilities::createColorSpaceFilter(ColorSpaceDeviceRGB, ColorSpaceLinearRGB); |
case ColorFilterNone: |
break; |
default: |