aboutsummaryrefslogtreecommitdiffhomepage
path: root/tools/viewer/SkottieSlide.h
diff options
context:
space:
mode:
authorGravatar Florin Malita <fmalita@chromium.org>2018-02-09 11:15:32 -0500
committerGravatar Skia Commit-Bot <skia-commit-bot@chromium.org>2018-02-09 16:40:41 +0000
commitc378fdcad8c9cd70b92a2761146d3db680815427 (patch)
tree74f5c54a77dfc132a058d6d24ba3ea600a302ae1 /tools/viewer/SkottieSlide.h
parentcd5099c75fd9ddc530347b976cb0e91abf85da00 (diff)
[skottie] Fix viewer slide sizing on Android
TBR= Change-Id: Ibbf4d22ba01e39b80c1f76d9af6bef647454996f Reviewed-on: https://skia-review.googlesource.com/106160 Reviewed-by: Florin Malita <fmalita@chromium.org> Commit-Queue: Florin Malita <fmalita@chromium.org>
Diffstat (limited to 'tools/viewer/SkottieSlide.h')
-rw-r--r--tools/viewer/SkottieSlide.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/viewer/SkottieSlide.h b/tools/viewer/SkottieSlide.h
index cbb70b2183..ffa3bba7e2 100644
--- a/tools/viewer/SkottieSlide.h
+++ b/tools/viewer/SkottieSlide.h
@@ -31,6 +31,7 @@ public:
private:
SkString fPath;
std::unique_ptr<skottie::Animation> fAnimation;
+ SkSize fWinSize = SkSize::MakeEmpty();
SkMSec fTimeBase = 0;
bool fShowAnimationInval = false;