| 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 b19909e337a2b44e9e3541d81113d047e6d61c9d..59304d1f88fd15c68174b6d809a874f7ea67ca84 100644
|
| --- a/third_party/WebKit/Source/platform/graphics/filters/FEConvolveMatrix.cpp
|
| +++ b/third_party/WebKit/Source/platform/graphics/filters/FEConvolveMatrix.cpp
|
| @@ -153,8 +153,8 @@ PassRefPtr<SkImageFilter> FEConvolveMatrix::createImageFilter(SkiaImageFilterBui
|
| OwnPtr<SkScalar[]> kernel = adoptArrayPtr(new SkScalar[numElements]);
|
| for (int i = 0; i < numElements; ++i)
|
| kernel[i] = SkFloatToScalar(m_kernelMatrix[numElements - 1 - i]);
|
| - SkImageFilter::CropRect cropRect = getCropRect();
|
| - return adoptRef(SkMatrixConvolutionImageFilter::Create(kernelSize, kernel.get(), gain, bias, target, tileMode, convolveAlpha, input.get(), &cropRect));
|
| + SkImageFilter::CropRect cropRect;
|
| + return adoptRef(SkMatrixConvolutionImageFilter::Create(kernelSize, kernel.get(), gain, bias, target, tileMode, convolveAlpha, input.get(), getCropRect(&cropRect)));
|
| }
|
|
|
| static TextStream& operator<<(TextStream& ts, const EdgeModeType& type)
|
|
|