Index: include/effects/Sk1DPathEffect.h |
diff --git a/include/effects/Sk1DPathEffect.h b/include/effects/Sk1DPathEffect.h |
index d5315a8735e50d43cf49960a093cb16c58afcc9f..03c696694339cb3cb1f2542df8b1eb557114f95b 100644 |
--- a/include/effects/Sk1DPathEffect.h |
+++ b/include/effects/Sk1DPathEffect.h |
@@ -56,13 +56,7 @@ |
@param style how to transform path at each point (based on the current |
position and tangent) |
*/ |
- static sk_sp<SkPathEffect> Make(const SkPath& path, SkScalar advance, SkScalar phase, Style); |
- |
-#ifdef SK_SUPPORT_LEGACY_PATHEFFECT_PTR |
- static SkPathEffect* Create(const SkPath& path, SkScalar advance, SkScalar phase, Style s) { |
- return Make(path, advance, phase, s).release(); |
- } |
-#endif |
+ static SkPathEffect* Create(const SkPath& path, SkScalar advance, SkScalar phase, Style); |
virtual bool filterPath(SkPath*, const SkPath&, |
SkStrokeRec*, const SkRect*) const override; |