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

Unified Diff: src/animator/SkDrawDiscrete.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 | « src/animator/SkDrawDash.cpp ('k') | src/animator/SkDrawExtraPathEffect.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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();
}
« no previous file with comments | « src/animator/SkDrawDash.cpp ('k') | src/animator/SkDrawExtraPathEffect.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698