| Index: third_party/WebKit/Source/platform/graphics/filters/FEOffset.cpp
|
| diff --git a/third_party/WebKit/Source/platform/graphics/filters/FEOffset.cpp b/third_party/WebKit/Source/platform/graphics/filters/FEOffset.cpp
|
| index a9ceb346d26bf32cbc42739272a415c498d21a9a..5f8417d9a359107f5f88688e2ec5e55a13590f34 100644
|
| --- a/third_party/WebKit/Source/platform/graphics/filters/FEOffset.cpp
|
| +++ b/third_party/WebKit/Source/platform/graphics/filters/FEOffset.cpp
|
| @@ -77,8 +77,8 @@ PassRefPtr<SkImageFilter> FEOffset::createImageFilter(SkiaImageFilterBuilder& bu
|
| {
|
| RefPtr<SkImageFilter> input(builder.build(inputEffect(0), operatingColorSpace()));
|
| Filter* filter = this->getFilter();
|
| - SkImageFilter::CropRect cropRect = getCropRect();
|
| - return adoptRef(SkOffsetImageFilter::Create(SkFloatToScalar(filter->applyHorizontalScale(m_dx)), SkFloatToScalar(filter->applyVerticalScale(m_dy)), input.get(), &cropRect));
|
| + SkImageFilter::CropRect cropRect;
|
| + return adoptRef(SkOffsetImageFilter::Create(SkFloatToScalar(filter->applyHorizontalScale(m_dx)), SkFloatToScalar(filter->applyVerticalScale(m_dy)), input.get(), getCropRect(&cropRect)));
|
| }
|
|
|
| TextStream& FEOffset::externalRepresentation(TextStream& ts, int indent) const
|
|
|