[SPv175] Correct ForegroundLayer state if there is no ScrollingLayer
If there is no ScrollingLayer, ForegroundLayer is in the same coordinates as the main graphics layer, so it should use the container state instead of the contents state. Bug: 771643 Cq-Include-Trybots: master.tryserver.chromium.linux:linux_layout_tests_slimming_paint_v2 Change-Id: Ie28ab43803f1ffb3a4bacb80c9bea9c71e19068c Reviewed-on: https://chromium-review.googlesource.com/825442 Commit-Queue: Xianzhu Wang <wangxianzhu@chromium.org> Reviewed-by:Chris Harrelson <chrishtr@chromium.org> Cr-Commit-Position: refs/heads/master@{#523974}
Showing
Please register or sign in to comment