diff options
author | reed <reed@google.com> | 2016-04-03 09:11:13 -0700 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2016-04-03 09:11:13 -0700 |
commit | 60c9b58b3214b0154c931656e91e39b230e987d8 (patch) | |
tree | 6dd59cf90dd96a443a50ae4b6fa14be6f778c823 /include/effects | |
parent | cf9bafceafaf6c0bf8b0eac8de509aa1d8407fca (diff) |
change flattenable factory to return sk_sp
BUG=skia:
GOLD_TRYBOT_URL= https://gold.skia.org/search2?unt=true&query=source_type%3Dgm&master=false&issue=1855733002
Review URL: https://codereview.chromium.org/1855733002
Diffstat (limited to 'include/effects')
-rw-r--r-- | include/effects/SkLayerDrawLooper.h | 2 |
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(); |