Index: src/animator/SkDrawDiscrete.cpp |
diff --git a/src/animator/SkDrawDiscrete.cpp b/src/animator/SkDrawDiscrete.cpp |
index 18c3ee0f61b7229ecf5ad16bc39f44a8a1ea1df7..9376435950d771295c478aea2809e48051a7a41b 100644 |
--- a/src/animator/SkDrawDiscrete.cpp |
+++ b/src/animator/SkDrawDiscrete.cpp |
@@ -30,5 +30,5 @@ SkPathEffect* SkDiscrete::getPathEffect() { |
if (deviation <= 0 || segLength <= 0) |
return NULL; |
else |
- return new SkDiscretePathEffect(segLength, deviation); |
+ return SkDiscretePathEffect::Create(segLength, deviation); |
} |