Index: src/effects/Sk2DPathEffect.cpp |
diff --git a/src/effects/Sk2DPathEffect.cpp b/src/effects/Sk2DPathEffect.cpp |
index a54f453ecfe2c313ceb4eea3757facb8a5b026c4..7144526dd08a07441f4da1edf62292189fad4ce2 100644 |
--- a/src/effects/Sk2DPathEffect.cpp |
+++ b/src/effects/Sk2DPathEffect.cpp |
@@ -111,7 +111,7 @@ |
SkMatrix matrix; |
buffer.readMatrix(&matrix); |
SkScalar width = buffer.readScalar(); |
- return SkLine2DPathEffect::Make(width, matrix).release(); |
+ return SkLine2DPathEffect::Create(width, matrix); |
} |
void SkLine2DPathEffect::flatten(SkWriteBuffer &buffer) const { |
@@ -140,7 +140,7 @@ |
buffer.readMatrix(&matrix); |
SkPath path; |
buffer.readPath(&path); |
- return SkPath2DPathEffect::Make(matrix, path).release(); |
+ return SkPath2DPathEffect::Create(matrix, path); |
} |
void SkPath2DPathEffect::flatten(SkWriteBuffer& buffer) const { |