Index: src/effects/SkBlurDrawLooper.cpp |
diff --git a/src/effects/SkBlurDrawLooper.cpp b/src/effects/SkBlurDrawLooper.cpp |
index c8e20e1265be4858ffb687d0deac50ac89edfc21..2578d092bbb7de3c204b68d41b00e2d0118ec473 100644 |
--- a/src/effects/SkBlurDrawLooper.cpp |
+++ b/src/effects/SkBlurDrawLooper.cpp |
@@ -61,13 +61,13 @@ void SkBlurDrawLooper::init(SkScalar sigma, SkScalar dx, SkScalar dy, |
this->initEffects(); |
} |
-SkFlattenable* SkBlurDrawLooper::CreateProc(SkReadBuffer& buffer) { |
+sk_sp<SkFlattenable> SkBlurDrawLooper::CreateProc(SkReadBuffer& buffer) { |
const SkColor color = buffer.readColor(); |
const SkScalar sigma = buffer.readScalar(); |
const SkScalar dx = buffer.readScalar(); |
const SkScalar dy = buffer.readScalar(); |
const uint32_t flags = buffer.read32(); |
- return Make(color, sigma, dx, dy, flags).release(); |
+ return Make(color, sigma, dx, dy, flags); |
} |
void SkBlurDrawLooper::flatten(SkWriteBuffer& buffer) const { |