Reland "Active layer excludes outPoint"
This reverts commit a4b837971c4b91de29f62909d340cbae33919e33.
Reason for revert: Google 3 roll should pass now
Original change's description:
> Revert "Active layer excludes outPoint"
>
> This reverts commit 87224bbed6762b2f4af4b29867463e9d621af718.
>
> Reason for revert: Speculative revert for Google 3 roll
>
> Original change's description:
> > Active layer excludes outPoint
> >
> > Exported AE layers outPoint is exclusive
> >
> > Change-Id: Ie53954ef8df3938e13f2241b649429775553aa59
> > Reviewed-on: https://skia-review.googlesource.com/c/skia/+/215432
> > Commit-Queue: Florin Malita <fmalita@chromium.org>
> > Reviewed-by: Florin Malita <fmalita@chromium.org>
>
> TBR=fmalita@chromium.org,isabelren@google.com
>
> Change-Id: I17f6a66f3165983b8c082e9324b042d75818d987
> No-Presubmit: true
> No-Tree-Checks: true
> No-Try: true
> Reviewed-on: https://skia-review.googlesource.com/c/skia/+/215781
> Reviewed-by: Brian Osman <brianosman@google.com>
> Commit-Queue: Brian Osman <brianosman@google.com>
TBR=brianosman@google.com,fmalita@chromium.org,isabelren@google.com
Change-Id: I69211dbc6351b2ad91304890cce84c8f15ae6c21
No-Presubmit: true
No-Tree-Checks: true
No-Try: true
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/216043
Reviewed-by: Florin Malita <fmalita@chromium.org>
Commit-Queue: Florin Malita <fmalita@chromium.org>
diff --git a/modules/skottie/src/SkottieLayer.cpp b/modules/skottie/src/SkottieLayer.cpp
index e922aa0..dde866c 100644
--- a/modules/skottie/src/SkottieLayer.cpp
+++ b/modules/skottie/src/SkottieLayer.cpp
@@ -653,7 +653,7 @@
, fOut(out) {}
void onTick(float t) override {
- const auto active = (t >= fIn && t <= fOut);
+ const auto active = (t >= fIn && t < fOut);
// Keep the layer fully transparent except for its [in..out] lifespan.
// (note: opacity == 0 disables rendering, while opacity == 1 is a noop)