Index: src/animator/SkDrawDiscrete.cpp |
diff --git a/src/animator/SkDrawDiscrete.cpp b/src/animator/SkDrawDiscrete.cpp |
index 14917839b22e7747bd50e4ee0c98a1b306d88161..11963a1d2f7377988a4820851ddc8e9e4fb0bd26 100644 |
--- a/src/animator/SkDrawDiscrete.cpp |
+++ b/src/animator/SkDrawDiscrete.cpp |
@@ -30,5 +30,5 @@ SkPathEffect* SkDiscrete::getPathEffect() { |
if (deviation <= 0 || segLength <= 0) |
return nullptr; |
else |
- return SkDiscretePathEffect::Create(segLength, deviation); |
+ return SkDiscretePathEffect::Make(segLength, deviation).release(); |
} |