diff options
Diffstat (limited to 'experimental/skottie/Skottie.h')
-rw-r--r-- | experimental/skottie/Skottie.h | 11 |
1 files changed, 4 insertions, 7 deletions
diff --git a/experimental/skottie/Skottie.h b/experimental/skottie/Skottie.h index 44541fd81b..275127aa4e 100644 --- a/experimental/skottie/Skottie.h +++ b/experimental/skottie/Skottie.h @@ -11,8 +11,6 @@ #include "SkRefCnt.h" #include "SkSize.h" #include "SkString.h" -#include "SkTArray.h" -#include "SkTHash.h" #include "SkTypes.h" #include <memory> @@ -21,12 +19,12 @@ class SkCanvas; struct SkRect; class SkStream; -namespace Json { class Value; } - namespace sksg { class Scene; } namespace skottie { +namespace json { class ValueRef; } + class ResourceProvider : public SkNoncopyable { public: virtual ~ResourceProvider() = default; @@ -63,9 +61,8 @@ public: void setShowInval(bool show); private: - Animation(const ResourceProvider&, - SkString ver, const SkSize& size, SkScalar fps, - const Json::Value&, Stats*); + Animation(const ResourceProvider&, SkString ver, const SkSize& size, SkScalar fps, + const json::ValueRef&, Stats*); SkString fVersion; SkSize fSize; |