Index: third_party/WebKit/Source/platform/graphics/filters/FEDisplacementMap.cpp |
diff --git a/third_party/WebKit/Source/platform/graphics/filters/FEDisplacementMap.cpp b/third_party/WebKit/Source/platform/graphics/filters/FEDisplacementMap.cpp |
index f5f5e46c48337107947e7b753513d9b4209f632a..8c08913699a514b400bd44f66aeacbbe42b21712 100644 |
--- a/third_party/WebKit/Source/platform/graphics/filters/FEDisplacementMap.cpp |
+++ b/third_party/WebKit/Source/platform/graphics/filters/FEDisplacementMap.cpp |
@@ -110,13 +110,13 @@ static SkDisplacementMapEffect::ChannelSelectorType toSkiaMode(ChannelSelectorTy |
} |
} |
-PassRefPtr<SkImageFilter> FEDisplacementMap::createImageFilter(SkiaImageFilterBuilder* builder) |
+PassRefPtr<SkImageFilter> FEDisplacementMap::createImageFilter(SkiaImageFilterBuilder& builder) |
{ |
- RefPtr<SkImageFilter> color = builder->build(inputEffect(0), operatingColorSpace()); |
- RefPtr<SkImageFilter> displ = builder->build(inputEffect(1), operatingColorSpace()); |
+ RefPtr<SkImageFilter> color = builder.build(inputEffect(0), operatingColorSpace()); |
+ RefPtr<SkImageFilter> displ = builder.build(inputEffect(1), operatingColorSpace()); |
SkDisplacementMapEffect::ChannelSelectorType typeX = toSkiaMode(m_xChannelSelector); |
SkDisplacementMapEffect::ChannelSelectorType typeY = toSkiaMode(m_yChannelSelector); |
- SkImageFilter::CropRect cropRect = getCropRect(builder->cropOffset()); |
+ SkImageFilter::CropRect cropRect = getCropRect(builder.cropOffset()); |
// FIXME : Only applyHorizontalScale is used and applyVerticalScale is ignored |
// This can be fixed by adding a 2nd scale parameter to SkDisplacementMapEffect |
return adoptRef(SkDisplacementMapEffect::Create(typeX, typeY, SkFloatToScalar(filter()->applyHorizontalScale(m_scale)), displ.get(), color.get(), &cropRect)); |