Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(129)

Unified Diff: src/animator/SkDrawDash.cpp

Issue 1820593002: disable SK_SUPPORT_LEGACY_PATHEFFECT_PTR for skia builds (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Created 4 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « include/core/SkTypes.h ('k') | src/animator/SkDrawDiscrete.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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();
}
« no previous file with comments | « include/core/SkTypes.h ('k') | src/animator/SkDrawDiscrete.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698