Don't allow PLC::CanBeComposited() in throttled frames
We had two places where PaintLayerCompositor::CanBeComposited() was
called for the LayoutView in a throttled frame. Now let the callers
check throttling status and fallback to use the current compositing
status when the frame is throttled.
This avoids the need of forced compositing inputs update when a
throttled frame is unthrottled.
Bug: 1139116
Change-Id: Id8069d5b26707e1ee3422b27742a6de29029a619
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2505727
Reviewed-by: Stefan Zager <szager@chromium.org>
Commit-Queue: Xianzhu Wang <wangxianzhu@chromium.org>
Cr-Commit-Position: refs/heads/master@{#822895}
GitOrigin-RevId: ecf20847907a33c6cf642259a7f5d760f2d6846c
5 files changed