Index: src/animator/SkDrawDash.cpp |
diff --git a/src/animator/SkDrawDash.cpp b/src/animator/SkDrawDash.cpp |
index d47db416fbd4e8318c581c94f75975d2ec459cca..e7fcc84107b0a72846d09c867b4c6c94b6130dd2 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 nullptr; |
- return SkDashPathEffect::Create(intervals.begin(), count, phase); |
+ return SkDashPathEffect::Make(intervals.begin(), count, phase).release(); |
} |