Descriptioncc: Implement RemoveLast for DisplayItemList.
Blink currently does this operation on its display item lists to remove
superfluous begin/end pairs. To port Blink's current display item list
operations, such an operation is required.
This is not possible when in "cached picture" mode, but Blink currently only
does this on the unmerged list (in blink::DisplayItemList::add), so this should
be sufficient (if unfortunately asymmetric).
BUG=484943
CQ_INCLUDE_TRYBOTS=tryserver.blink:linux_blink_rel
Committed: https://crrev.com/eafe7a9a7761ec179a457ab4b0a662d49e3652c6
Cr-Commit-Position: refs/heads/master@{#333084}
Patch Set 1 #Patch Set 2 : basic unit tests #
Total comments: 3
Patch Set 3 : pure refactor of ListContainerCharAllocator #Patch Set 4 : RemoveLast on refactored data (doesn't remove empty lists eagerly, avoiding O(n) worst case), itera… #Patch Set 5 : Mac: cbegin, crbegin #Patch Set 6 : #
Total comments: 4
Patch Set 7 : danakj comments #
Messages
Total messages: 17 (5 generated)
|