Index: src/animator/SkDrawDash.cpp |
diff --git a/src/animator/SkDrawDash.cpp b/src/animator/SkDrawDash.cpp |
index 8e73aa1c2deec4064ab26fa55ace950d90d19fc9..cfef30335b90f19969a91d37e28bace46914de66 100644 |
--- a/src/animator/SkDrawDash.cpp |
+++ b/src/animator/SkDrawDash.cpp |
@@ -31,5 +31,5 @@ SkPathEffect* SkDash::getPathEffect() { |
int count = intervals.count(); |
if (count == 0) |
return NULL; |
- return new SkDashPathEffect(intervals.begin(), count, phase); |
+ return SkDashPathEffect::Create(intervals.begin(), count, phase); |
} |