commit | c742e2d0986a4bd46133b88371289fe527d775b9 | [log] [tgz] |
---|---|---|
author | Xianzhu Wang <wangxianzhu@chromium.org> | Sun Mar 17 18:46:14 2019 |
committer | Commit Bot <commit-bot@chromium.org> | Sun Mar 17 18:46:14 2019 |
tree | af6e5191cb5bd8ff6f64bf34ebb92e02068275f9 | |
parent | 6e45b4f4eadb60d9ec5f67d412649858cffbf69d [diff] |
[BGPT] Remove XXXPaintPropertyNode::IsRunningXXXAnimationOnCompositor() This is a rewritten version of https://chromium-review.googlesource.com/c/chromium/src/+/1513736. The functionality is equivalent, but this new CL is simpler and allows future new types of paint property change. Recent investigation and discussions made it clear that ComputedStyle::IsRunningXXXAnimationOnCompositor() methods actually reflect the animation status from the compositor. The previous plan about using them was wrong because it caused a chicken-and-egg problem: we wanted them to inform the compositor to start animations, but they actually came from the compositor after animations were started. Now use ComputedStyle::IsRunningXXXAnimationOnCompositor() only to ignore changes of animation values at blink side. Changes of the flags themselves no longer need to be handled by blink in any way. Bug: 935770 Change-Id: If4ecd501e318c75bc5ef5af8fa3933de27020450 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1527204 Reviewed-by: Philip Rogers <pdr@chromium.org> Commit-Queue: Xianzhu Wang <wangxianzhu@chromium.org> Cr-Commit-Position: refs/heads/master@{#641487}
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 .