| Index: Source/core/platform/graphics/filters/FEColorMatrix.cpp
|
| diff --git a/Source/core/platform/graphics/filters/FEColorMatrix.cpp b/Source/core/platform/graphics/filters/FEColorMatrix.cpp
|
| index 9462e1cec1e3642e88aa5eebbb72171837b67880..4d8c45afaee511671c9a2226910111fd022d4d82 100644
|
| --- a/Source/core/platform/graphics/filters/FEColorMatrix.cpp
|
| +++ b/Source/core/platform/graphics/filters/FEColorMatrix.cpp
|
| @@ -285,7 +285,8 @@ PassRefPtr<SkImageFilter> FEColorMatrix::createImageFilter(SkiaImageFilterBuilde
|
| {
|
| RefPtr<SkImageFilter> input(builder->build(inputEffect(0), operatingColorSpace()));
|
| SkAutoTUnref<SkColorFilter> filter(createColorFilter(m_type, m_values.data()));
|
| - return adoptRef(SkColorFilterImageFilter::Create(filter, input.get()));
|
| + SkIRect rect = getCropRect(builder->cropOffset());
|
| + return adoptRef(SkColorFilterImageFilter::Create(filter, input.get(), &rect));
|
| }
|
|
|
| static TextStream& operator<<(TextStream& ts, const ColorMatrixType& type)
|
|
|