Index: src/core/SkReadBuffer.h |
diff --git a/src/core/SkReadBuffer.h b/src/core/SkReadBuffer.h |
index c7ac8480eceddbeb35d5b475620a8a866dd60710..7ce6d048e9b22319d70b8d2cfa2e7570fb52a7e4 100644 |
--- a/src/core/SkReadBuffer.h |
+++ b/src/core/SkReadBuffer.h |
@@ -134,9 +134,7 @@ |
SkDrawLooper* readDrawLooper() { return this->readFlattenable<SkDrawLooper>(); } |
SkImageFilter* readImageFilter() { return this->readFlattenable<SkImageFilter>(); } |
SkMaskFilter* readMaskFilter() { return this->readFlattenable<SkMaskFilter>(); } |
- sk_sp<SkPathEffect> readPathEffect() { |
- return sk_sp<SkPathEffect>(this->readFlattenable<SkPathEffect>()); |
- } |
+ SkPathEffect* readPathEffect() { return this->readFlattenable<SkPathEffect>(); } |
SkRasterizer* readRasterizer() { return this->readFlattenable<SkRasterizer>(); } |
sk_sp<SkShader> readShader() { return sk_sp<SkShader>(this->readFlattenable<SkShader>()); } |
SkXfermode* readXfermode() { return this->readFlattenable<SkXfermode>(); } |