aboutsummaryrefslogtreecommitdiffhomepage
path: root/include/effects/SkLayerDrawLooper.h
diff options
context:
space:
mode:
authorGravatar reed <reed@google.com>2016-04-03 09:11:13 -0700
committerGravatar Commit bot <commit-bot@chromium.org>2016-04-03 09:11:13 -0700
commit60c9b58b3214b0154c931656e91e39b230e987d8 (patch)
tree6dd59cf90dd96a443a50ae4b6fa14be6f778c823 /include/effects/SkLayerDrawLooper.h
parentcf9bafceafaf6c0bf8b0eac8de509aa1d8407fca (diff)
change flattenable factory to return sk_sp
Diffstat (limited to 'include/effects/SkLayerDrawLooper.h')
-rw-r--r--include/effects/SkLayerDrawLooper.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/effects/SkLayerDrawLooper.h b/include/effects/SkLayerDrawLooper.h
index 6ddde888eb..186d44a656 100644
--- a/include/effects/SkLayerDrawLooper.h
+++ b/include/effects/SkLayerDrawLooper.h
@@ -80,7 +80,7 @@ public:
SK_TO_STRING_OVERRIDE()
Factory getFactory() const override { return CreateProc; }
- static SkFlattenable* CreateProc(SkReadBuffer& buffer);
+ static sk_sp<SkFlattenable> CreateProc(SkReadBuffer& buffer);
protected:
SkLayerDrawLooper();