[SPv175] Use clipping container's clip state for squashing layer
In the current layer squashing algorithm, all squashed layers under a squashing layer have a common clip ancestor which is the squashing layer's ClippingContainer() which doesn't include control clips. For SPv175, when we set layer state of a squashing layer, we should use the clip state of the ClippingContainer to skip any control clips on the squashing layer's object that should not apply on squashed layers. [1] https://cs.chromium.org/chromium/src/third_party/WebKit/Source/core/paint/compositing/CompositingLayerAssigner.cpp?rcl=5909b5622777f87eb25763ccd8ff349413422742&l=165 TBR= # for enabling a temporarily disabled test Bug: 813221 Cq-Include-Trybots: master.tryserver.blink:linux_trusty_blink_rel;master.tryserver.chromium.linux:linux_layout_tests_slimming_paint_v2 Change-Id: Ie395f025935028f29b2f5de25674698227550b93 Reviewed-on: https://chromium-review.googlesource.com/927001 Commit-Queue: Xianzhu Wang <wangxianzhu@chromium.org> Reviewed-by:Chris Harrelson <chrishtr@chromium.org> Cr-Commit-Position: refs/heads/master@{#538968}
Showing
Please register or sign in to comment