Index: third_party/WebKit/Source/platform/graphics/filters/FEFlood.cpp |
diff --git a/third_party/WebKit/Source/platform/graphics/filters/FEFlood.cpp b/third_party/WebKit/Source/platform/graphics/filters/FEFlood.cpp |
index ff65c3fd212e31c1f74614d50c033caff7ad885f..bed2a4a2a87a162dabc1a7e1ed2377d5d458f3f5 100644 |
--- a/third_party/WebKit/Source/platform/graphics/filters/FEFlood.cpp |
+++ b/third_party/WebKit/Source/platform/graphics/filters/FEFlood.cpp |
@@ -70,11 +70,11 @@ bool FEFlood::setFloodOpacity(float floodOpacity) |
return true; |
} |
-PassRefPtr<SkImageFilter> FEFlood::createImageFilter(SkiaImageFilterBuilder* builder) |
+PassRefPtr<SkImageFilter> FEFlood::createImageFilter(SkiaImageFilterBuilder& builder) |
{ |
Color color = floodColor().combineWithAlpha(floodOpacity()); |
- SkImageFilter::CropRect rect = getCropRect(builder->cropOffset()); |
+ SkImageFilter::CropRect rect = getCropRect(builder.cropOffset()); |
SkAutoTUnref<SkColorFilter> cf(SkColorFilter::CreateModeFilter(color.rgb(), SkXfermode::kSrc_Mode)); |
return adoptRef(SkColorFilterImageFilter::Create(cf, 0, &rect)); |
} |