| Index: src/effects/SkLayerDrawLooper.cpp
|
| diff --git a/src/effects/SkLayerDrawLooper.cpp b/src/effects/SkLayerDrawLooper.cpp
|
| index bca65ef77a2c43cac9860b9815ff272510de85e6..83f21e5b405b46afb712377cc8c74c92036162f9 100644
|
| --- a/src/effects/SkLayerDrawLooper.cpp
|
| +++ b/src/effects/SkLayerDrawLooper.cpp
|
| @@ -93,7 +93,7 @@ void SkLayerDrawLooper::LayerDrawLooperContext::ApplyInfo(
|
| }
|
|
|
| if (bits & kPathEffect_Bit) {
|
| - dst->setPathEffect(src.getPathEffect());
|
| + dst->setPathEffect(sk_ref_sp(src.getPathEffect()));
|
| }
|
| if (bits & kMaskFilter_Bit) {
|
| dst->setMaskFilter(src.getMaskFilter());
|
|
|