aboutsummaryrefslogtreecommitdiffhomepage
path: root/tools/viewer/SkottieSlide.h
diff options
context:
space:
mode:
Diffstat (limited to 'tools/viewer/SkottieSlide.h')
-rw-r--r--tools/viewer/SkottieSlide.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/tools/viewer/SkottieSlide.h b/tools/viewer/SkottieSlide.h
index ac26d2f3c1..b5770a0cf8 100644
--- a/tools/viewer/SkottieSlide.h
+++ b/tools/viewer/SkottieSlide.h
@@ -30,11 +30,11 @@ public:
bool onMouse(SkScalar x, SkScalar y, sk_app::Window::InputState, uint32_t modifiers) override;
private:
- SkString fPath;
- std::unique_ptr<skottie::Animation> fAnimation;
- SkSize fWinSize = SkSize::MakeEmpty();
- SkMSec fTimeBase = 0;
- bool fShowAnimationInval = false;
+ SkString fPath;
+ sk_sp<skottie::Animation> fAnimation;
+ SkSize fWinSize = SkSize::MakeEmpty();
+ SkMSec fTimeBase = 0;
+ bool fShowAnimationInval = false;
typedef Slide INHERITED;
};