Index: third_party/WebKit/Source/platform/graphics/filters/FEColorMatrix.cpp |
diff --git a/third_party/WebKit/Source/platform/graphics/filters/FEColorMatrix.cpp b/third_party/WebKit/Source/platform/graphics/filters/FEColorMatrix.cpp |
index e01fc594fe7a07ec61a6aa9fe0d963b84fb948e2..49581f63f99461a3988c0997d67c9010dea7de86 100644 |
--- a/third_party/WebKit/Source/platform/graphics/filters/FEColorMatrix.cpp |
+++ b/third_party/WebKit/Source/platform/graphics/filters/FEColorMatrix.cpp |
@@ -161,11 +161,11 @@ bool FEColorMatrix::affectsTransparentPixels() |
return m_type == FECOLORMATRIX_TYPE_MATRIX && m_values.size() >= kColorMatrixSize && m_values[19] > 0; |
} |
-PassRefPtr<SkImageFilter> FEColorMatrix::createImageFilter(SkiaImageFilterBuilder* builder) |
+PassRefPtr<SkImageFilter> FEColorMatrix::createImageFilter(SkiaImageFilterBuilder& builder) |
{ |
- RefPtr<SkImageFilter> input(builder->build(inputEffect(0), operatingColorSpace())); |
+ RefPtr<SkImageFilter> input(builder.build(inputEffect(0), operatingColorSpace())); |
SkAutoTUnref<SkColorFilter> filter(createColorFilter(m_type, m_values)); |
- SkImageFilter::CropRect rect = getCropRect(builder->cropOffset()); |
+ SkImageFilter::CropRect rect = getCropRect(builder.cropOffset()); |
return adoptRef(SkColorFilterImageFilter::Create(filter, input.get(), &rect)); |
} |