commit | 31d48a955eeb47daa05a88fa09a29237c5b426cb | [log] [tgz] |
---|---|---|
author | Mohsen Izadi <mohsen@chromium.org> | Thu Nov 10 19:19:14 2022 |
committer | Chromium LUCI CQ <chromium-scoped@luci-project-accounts.iam.gserviceaccount.com> | Thu Nov 10 19:19:14 2022 |
tree | d01a285927b91ab342194544d966415ef8d3bcc4 | |
parent | eda4012839bc68d1fd6283679c24d749abe026b2 [diff] |
Fix presentation callback in LayerTreeHostPresentationDuringAnimation `LayerTreeHostPresentationDuringAnimation` uses presentation time callbacks registered using `cc::LayerTreeHost::RequestPresentationTimeForNextFrame()` to determine when presentation is completed. However, these callbacks are run even if the presentation fails. This CL updates the test to use presentation time callbacks registered using the newly introduced function `cc::LayerTreeHost::RequestSuccessfulPresentationTimeForNextFrame()` instead, which are run after a successful presentation. Bug: 1378612 Change-Id: I8fd4636434d4fd812a4cd268fa9eb32800c21d6d Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4000162 Commit-Queue: Mohsen Izadi <mohsen@chromium.org> Reviewed-by: Vladimir Levin <vmpstr@chromium.org> Cr-Commit-Position: refs/heads/main@{#1069888}
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.
To check out the source code locally, don't use git clone
! Instead, follow the instructions on how to get the code.
Documentation in the source is rooted in docs/README.md.
Learn how to Get Around the Chromium Source Code Directory Structure .
For historical reasons, there are some small top level directories. Now the guidance is that new top level directories are for product (e.g. Chrome, Android WebView, Ash). Even if these products have multiple executables, the code should be in subdirectories of the product.
If you found a bug, please file it at https://crbug.com/new.