| Index: third_party/WebKit/Source/platform/graphics/filters/FETurbulence.cpp
|
| diff --git a/third_party/WebKit/Source/platform/graphics/filters/FETurbulence.cpp b/third_party/WebKit/Source/platform/graphics/filters/FETurbulence.cpp
|
| index 3a60a1d421078b56fc428d5e0abbd2f04b43a6a2..31dd6e537a6c123a1d601c098ca045c3d11b8abd 100644
|
| --- a/third_party/WebKit/Source/platform/graphics/filters/FETurbulence.cpp
|
| +++ b/third_party/WebKit/Source/platform/graphics/filters/FETurbulence.cpp
|
| @@ -128,7 +128,9 @@ bool FETurbulence::setStitchTiles(bool stitch)
|
|
|
| sk_sp<SkShader> FETurbulence::createShader() const
|
| {
|
| - const SkISize size = SkISize::Make(effectBoundaries().width(), effectBoundaries().height());
|
| + const SkISize size = SkISize::Make(
|
| + filterPrimitiveSubregion().width(),
|
| + filterPrimitiveSubregion().height());
|
| // Frequency should be scaled by page zoom, but not by primitiveUnits.
|
| // So we apply only the transform scale (as Filter::apply*Scale() do)
|
| // and not the target bounding box scale (as SVGFilter::apply*Scale()
|
|
|