Chromium Code Reviews
DescriptionRe-land: Make GraphicsLayer the DisplayItemClient for scrollbars composited via PaintLayerCompositor.
Updated to deal gracefully with potentially null picture recording in
performance testing.
Original change description:
Currently, the DisplayItemClient is LayoutScrollbarPart. This has two
problems: the mapping between the LayoutScrollbarPart and its backing
is hard to reverse-engineer given the way the scrollbar code is set
up (LayoutScrollbarPart vs Scrollbar vs ScrollableArea), and the
fact that LayoutScrollbarPart can be painted in both non-composited
and composited modes. This distinction is important for computation
of correct visual rects.
This can be cleaned up by replaying the painted scrollbar content
with the GraphicsLayer backing as the DisplayItemClient, which
has the correct visualRect() (i.e. bounds of GraphicsLayer).
BUG=529938
Committed: https://crrev.com/8460ef8fc6125185abc1486eb61b0ca7fc9298ad
Cr-Commit-Position: refs/heads/master@{#382778}
patch from issue 1825193002 at patchset 100001 (http://crrev.com/1825193002#ps100001)
TBR=chrishtr
Committed: https://crrev.com/7bd3f083b468f3ae88ac48ca9cdbaa918d148cbb
Cr-Commit-Position: refs/heads/master@{#384070}
Patch Set 1 #
Messages
Total messages: 12 (6 generated)
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||