ComputeBackgroundPaintLocationIfComposited will check parent's 3D context
ScrollableArea with Preserves3D context should be painted in PaintInGraphicsLayer. But currently, it doesn't. Therefore, In this patch, ComputeBackgroundPaintLocationIfComposited will check parent's Preserves3D styles and if it is, The function returns kBackgroundPaintInGraphicsLayer. Change-Id: I7fb2b283e0992b8825e95e08ef718bd0e056858c Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2434016 Commit-Queue: Xianzhu Wang <wangxianzhu@chromium.org> Reviewed-by:Xianzhu Wang <wangxianzhu@chromium.org> Cr-Commit-Position: refs/heads/master@{#815167}
Showing
Please register or sign in to comment