| Index: src/gpu/GrShape.cpp
|
| diff --git a/src/gpu/GrShape.cpp b/src/gpu/GrShape.cpp
|
| index d2bec72cbfea4a6f51377339532a2159e6f0c37a..11b2d38971b8faf37686630d16642338a42b69fc 100644
|
| --- a/src/gpu/GrShape.cpp
|
| +++ b/src/gpu/GrShape.cpp
|
| @@ -211,8 +211,8 @@ GrShape::GrShape(const GrShape& parent, GrStyle::Apply apply, SkScalar scale) {
|
| // Should we consider bounds? Would have to include in key, but it'd be nice to know
|
| // if the bounds actually modified anything before including in key.
|
| SkStrokeRec strokeRec = parent.fStyle.strokeRec();
|
| - strokeRec.setResScale(scale);
|
| - if (!pe->filterPath(fPath.get(), *srcForPathEffect, &strokeRec, nullptr)) {
|
| + if (!parent.fStyle.applyPathEffectToPath(fPath.get(), &strokeRec, *srcForPathEffect,
|
| + scale)) {
|
| // If the path effect fails then we continue as though there was no path effect.
|
| // If the original was a rrect that we couldn't canonicalize because of the path
|
| // effect, then do so now.
|
|
|