Index: src/effects/SkCornerPathEffect.cpp |
diff --git a/src/effects/SkCornerPathEffect.cpp b/src/effects/SkCornerPathEffect.cpp |
index 325e2ca94a1706b61f1dae3e620e7d90b96fd8a1..4b81f261fe669416f260f9b50669ec3a87878ffd 100644 |
--- a/src/effects/SkCornerPathEffect.cpp |
+++ b/src/effects/SkCornerPathEffect.cpp |
@@ -140,7 +140,7 @@ |
} |
SkFlattenable* SkCornerPathEffect::CreateProc(SkReadBuffer& buffer) { |
- return SkCornerPathEffect::Make(buffer.readScalar()).release(); |
+ return SkCornerPathEffect::Create(buffer.readScalar()); |
} |
void SkCornerPathEffect::flatten(SkWriteBuffer& buffer) const { |