Revert "[BGPT] Remove XXXPaintPropertyNode::IsRunningXXXAnimationOnCompositor()" This reverts commit a7a7e28d7e04442e9668ff725cb2c36ae8686c9c. Reason for revert: Causing build failure on win-google-rel: https://ci.chromium.org/p/chrome/builders/ci/win-google-rel/525 Original change's description: > [BGPT] Remove XXXPaintPropertyNode::IsRunningXXXAnimationOnCompositor() > > 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: I2523b8b9d2b6d57dcea19dc020d95ebe66a38c9a > Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1513736 > Reviewed-by: Xianzhu Wang <wangxianzhu@chromium.org> > Reviewed-by: Philip Rogers <pdr@chromium.org> > Commit-Queue: Xianzhu Wang <wangxianzhu@chromium.org> > Cr-Commit-Position: refs/heads/master@{#641421} TBR=wangxianzhu@chromium.org,pdr@chromium.org Change-Id: Ic85569b888118dcac7c97438ec2f0947876dcb8b No-Presubmit: true No-Tree-Checks: true No-Try: true Bug: 935770 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1527120 Reviewed-by: Thomas Anderson <thomasanderson@chromium.org> Reviewed-by: Xianzhu Wang <wangxianzhu@chromium.org> Commit-Queue: Xianzhu Wang <wangxianzhu@chromium.org> Cr-Commit-Position: refs/heads/master@{#641456}
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 .