Index: src/effects/SkDiscretePathEffect.cpp |
diff --git a/src/effects/SkDiscretePathEffect.cpp b/src/effects/SkDiscretePathEffect.cpp |
index 1989d9d603a400b83e5fd4d68a829c0a83cacf01..acde041298f23c229e0d9b90259173cf0a312b66 100644 |
--- a/src/effects/SkDiscretePathEffect.cpp |
+++ b/src/effects/SkDiscretePathEffect.cpp |
@@ -12,11 +12,6 @@ |
#include "SkWriteBuffer.h" |
#include "SkPathMeasure.h" |
#include "SkStrokeRec.h" |
- |
-sk_sp<SkPathEffect> SkDiscretePathEffect::Make(SkScalar segLength, SkScalar deviation, |
- uint32_t seedAssist) { |
- return sk_sp<SkPathEffect>(new SkDiscretePathEffect(segLength, deviation, seedAssist)); |
-} |
static void Perterb(SkPoint* p, const SkVector& tangent, SkScalar scale) { |
SkVector normal = tangent; |
@@ -126,7 +121,7 @@ |
SkScalar segLength = buffer.readScalar(); |
SkScalar perterb = buffer.readScalar(); |
uint32_t seed = buffer.readUInt(); |
- return Make(segLength, perterb, seed).release(); |
+ return Create(segLength, perterb, seed); |
} |
void SkDiscretePathEffect::flatten(SkWriteBuffer& buffer) const { |