Re-land: [Fast compositing] Don't set any compositing reasons for non-self-painting PaintLayers.
This reverts commit 1a41279a. virtual/threaded/animations/cancel-unattached-animation.html was failing because PaintLayerCompositor::CanBeComposited has an early out if the LocalFrameView's IsVisible bit is false. When that bit changes, compositing inputs need to re-computed, to get a correct value for PaintLayer::DescendantHasDirectOrScrollingCompositingReason. Bug: 859304,856808 Cq-Include-Trybots: luci.chromium.try:linux_layout_tests_slimming_paint_v2;master.tryserver.blink:linux_trusty_blink_rel Change-Id: I4eb61112f3d396df1361486007c6efd2c6f7b339 Reviewed-on: https://chromium-review.googlesource.com/1123027Reviewed-by:Philip Rogers <pdr@chromium.org> Commit-Queue: Chris Harrelson <chrishtr@chromium.org> Cr-Commit-Position: refs/heads/master@{#572002}
Showing
Please register or sign in to comment