Index: src/effects/SkArcToPathEffect.cpp |
diff --git a/src/effects/SkArcToPathEffect.cpp b/src/effects/SkArcToPathEffect.cpp |
index 06cba96109c637a0fd0454b75d51d174e5f3ad37..c660de9db4494d5b8d932c8258abb2b3e8e94f31 100644 |
--- a/src/effects/SkArcToPathEffect.cpp |
+++ b/src/effects/SkArcToPathEffect.cpp |
@@ -62,7 +62,7 @@ DONE: |
} |
SkFlattenable* SkArcToPathEffect::CreateProc(SkReadBuffer& buffer) { |
- return SkArcToPathEffect::Create(buffer.readScalar()); |
+ return SkArcToPathEffect::Make(buffer.readScalar()).release(); |
} |
void SkArcToPathEffect::flatten(SkWriteBuffer& buffer) const { |