| 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 fd9b8c6bbfe663d4b1db7871bd04e3f7c1fdfc60..0101f44b8bb1a7f72e5cafd57a6a4595d33285ef 100644
|
| --- a/third_party/WebKit/Source/platform/graphics/filters/FEConvolveMatrix.cpp
|
| +++ b/third_party/WebKit/Source/platform/graphics/filters/FEConvolveMatrix.cpp
|
| @@ -136,12 +136,12 @@ bool FEConvolveMatrix::parametersValid() const
|
| return true;
|
| }
|
|
|
| -sk_sp<SkImageFilter> FEConvolveMatrix::createImageFilter(SkiaImageFilterBuilder& builder)
|
| +sk_sp<SkImageFilter> FEConvolveMatrix::createImageFilter()
|
| {
|
| if (!parametersValid())
|
| - return createTransparentBlack(builder);
|
| + return createTransparentBlack();
|
|
|
| - sk_sp<SkImageFilter> input(builder.build(inputEffect(0), operatingColorSpace()));
|
| + sk_sp<SkImageFilter> input(SkiaImageFilterBuilder::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());
|
|
|