Index: third_party/WebKit/Source/platform/graphics/filters/FEConvolveMatrix.cpp |
diff --git a/third_party/WebKit/Source/platform/graphics/filters/FEConvolveMatrix.cpp b/third_party/WebKit/Source/platform/graphics/filters/FEConvolveMatrix.cpp |
index bb715e08461556b02e879c9d1f57f98e84d16af5..8a3ce41e71bfb42deef76ec7e09e4a0c7949d98b 100644 |
--- a/third_party/WebKit/Source/platform/graphics/filters/FEConvolveMatrix.cpp |
+++ b/third_party/WebKit/Source/platform/graphics/filters/FEConvolveMatrix.cpp |
@@ -139,10 +139,9 @@ bool FEConvolveMatrix::parametersValid() const |
PassRefPtr<SkImageFilter> FEConvolveMatrix::createImageFilter(SkiaImageFilterBuilder* builder) |
{ |
if (!parametersValid()) |
- return createTransparentBlack(); |
+ return createTransparentBlack(builder); |
RefPtr<SkImageFilter> input(builder->build(inputEffect(0), operatingColorSpace())); |
- |
SkISize kernelSize(SkISize::Make(m_kernelSize.width(), m_kernelSize.height())); |
// parametersValid() above checks that the kernel area fits in int. |
int numElements = safeCast<int>(m_kernelSize.area()); |