diff options
author | Florin Malita <fmalita@chromium.org> | 2018-05-29 13:46:54 -0400 |
---|---|---|
committer | Skia Commit-Bot <skia-commit-bot@chromium.org> | 2018-05-29 18:58:16 +0000 |
commit | a33447dab9b9ebdc0bd636b6ec7721557d21feac (patch) | |
tree | c549453a952ab1b888e1392f42d64bb29f5e516e /modules/skottie/fuzz | |
parent | aec79e6f85cf40af1c784a7b5b40ba0d67be1727 (diff) |
[skottie] Animation::animationTick() -> Animation::seek()
Replace poorly defined animationTick() with a normalized seek() method.
TBR=
Change-Id: Id2ea17bb426fe86fede0d6c8a3d93236902f10af
Reviewed-on: https://skia-review.googlesource.com/130508
Reviewed-by: Florin Malita <fmalita@chromium.org>
Commit-Queue: Florin Malita <fmalita@chromium.org>
Diffstat (limited to 'modules/skottie/fuzz')
-rw-r--r-- | modules/skottie/fuzz/FuzzSkottieJSON.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/skottie/fuzz/FuzzSkottieJSON.cpp b/modules/skottie/fuzz/FuzzSkottieJSON.cpp index e4f19ccad7..35135f133f 100644 --- a/modules/skottie/fuzz/FuzzSkottieJSON.cpp +++ b/modules/skottie/fuzz/FuzzSkottieJSON.cpp @@ -23,7 +23,7 @@ void FuzzSkottieJSON(sk_sp<SkData> bytes) { if (!animation) { return; } - animation->animationTick(1337); // A "nothing up my sleeve" number + animation->seek(0.1337f); // A "nothing up my sleeve" number } #if defined(IS_FUZZING_WITH_LIBFUZZER) |