commit | 2b037bdc2571af1fc728042be128a79a97954a8c | [log] [tgz] |
---|---|---|
author | Majid Valipour <majidvp@chromium.org> | Fri Mar 01 21:53:23 2019 |
committer | Commit Bot <commit-bot@chromium.org> | Fri Mar 01 21:53:23 2019 |
tree | f98a7954c0405cb72197d746061ba5d4b200f7fd | |
parent | 1e1fca23cad9dba7abcea15c1f0dab184df5d72b [diff] |
[Animation Worklet] Fix flaky worklet-animation-with-fill-mode.https.html Use a more robust method for waiting on receiving local times on main thread when test is running with threaded compositing. Previously we would wait for one async frame and some more time to ensure we have received the local times on main thread. This can be flaky. Instead wait until local time is no longer null which means worklet has produced at least one frame and that frame has been synced with main. To this end WorkletAnimation now exposes its effect (similar to regular animations) and we use that to access the effect's local time. Bug: 915352 Change-Id: I05ab560d90a55ff68e048b2c8ed19e87435dffeb Reviewed-on: https://chromium-review.googlesource.com/c/1496478 Commit-Queue: Majid Valipour <majidvp@chromium.org> Reviewed-by: Yi Gu <yigu@chromium.org> Cr-Commit-Position: refs/heads/master@{#636970}
Chromium is an open-source browser project that aims to build a safer, faster, and more stable way for all users to experience the web.
The project's web site is https://www.chromium.org.
Documentation in the source is rooted in docs/README.md.
Learn how to Get Around the Chromium Source Code Directory Structure .