diff options
Diffstat (limited to 'tools/viewer/SkottieSlide.cpp')
-rw-r--r-- | tools/viewer/SkottieSlide.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tools/viewer/SkottieSlide.cpp b/tools/viewer/SkottieSlide.cpp index aef28e1efc..77501d8a9f 100644 --- a/tools/viewer/SkottieSlide.cpp +++ b/tools/viewer/SkottieSlide.cpp @@ -17,9 +17,9 @@ SkottieSlide::SkottieSlide(const SkString& name, const SkString& path) } void SkottieSlide::load(SkScalar w, SkScalar h) { - fAnimation = skottie::Animation::MakeFromFile(fPath.c_str()); - fWinSize = SkSize::Make(w, h); - fTimeBase = 0; // force a time reset + fAnimation = skottie::Animation::MakeFromFile(fPath.c_str()); + fWinSize = SkSize::Make(w, h); + fTimeBase = 0; // force a time reset if (fAnimation) { fAnimation->setShowInval(fShowAnimationInval); |