[LayoutNG] Fix ScrollbarAppearanceTest.NativeScrollbarChangeToMobileByEmulator
As above. This iterates over all the scrollable areas, and marks their respective layout objects as requiring layout. This is required as LayoutNG has caches more items than in the existing LayoutNG, and nothing marks the layout_box with the scrollbar as needing layout. This is similar to the kPaintChange, which invalidates paint all of paint when something like high-contrast mode is enabled. Bug: 922456 Change-Id: Ie65b14872a832b73b197247c06ce77727d8e6aec Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1476811 Commit-Queue: Ian Kilpatrick <ikilpatrick@chromium.org> Reviewed-by:Morten Stenshorne <mstensho@chromium.org> Reviewed-by:
Stefan Zager <szager@chromium.org> Cr-Commit-Position: refs/heads/master@{#638247}
Showing
Please register or sign in to comment