diff options
author | Florin Malita <fmalita@chromium.org> | 2018-05-31 12:17:55 -0400 |
---|---|---|
committer | Skia Commit-Bot <skia-commit-bot@chromium.org> | 2018-05-31 16:39:13 +0000 |
commit | c83a0deaa8d4d94450424c4c8eed53e70b25365c (patch) | |
tree | 8c8812bd4db7bc7b61536d6d8223b9a01cfaeaa7 /modules/skottie/include | |
parent | dbe89bb0312c6b68b51676596335faed13507052 (diff) |
[skottie] Make the resource provider factory argument optional
Most of the existing clients don't care about nested resources.
Change-Id: Ie7991dd25ebbd679b5b49e5624772c7e19e7ec79
Reviewed-on: https://skia-review.googlesource.com/131141
Reviewed-by: Mike Reed <reed@google.com>
Commit-Queue: Florin Malita <fmalita@chromium.org>
Diffstat (limited to 'modules/skottie/include')
-rw-r--r-- | modules/skottie/include/Skottie.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/skottie/include/Skottie.h b/modules/skottie/include/Skottie.h index 906ea82b68..5114ae4578 100644 --- a/modules/skottie/include/Skottie.h +++ b/modules/skottie/include/Skottie.h @@ -42,7 +42,7 @@ public: fAnimatorCount; }; - static sk_sp<Animation> Make(SkStream*, const ResourceProvider&, Stats* = nullptr); + static sk_sp<Animation> Make(SkStream*, const ResourceProvider* = nullptr, Stats* = nullptr); static sk_sp<Animation> MakeFromFile(const char path[], const ResourceProvider* = nullptr, Stats* = nullptr); |