Find cached display items directly during painting
Instead of adding CachedDisplayItems in the new display item list and
replace them with real cached display items during commit, now find and
add the real cached display items during painting directly.
The main purpose is to let PaintChunker work for cached subsequences.
Also has other benefits:
- Avoid another display list during commit;
- Avoid creating CachedDisplayItems.
BUG=596983,510908
CQ_INCLUDE_TRYBOTS=tryserver.blink:linux_blink_rel
Review-Url: https://codereview.chromium.org/2107103002
Cr-Commit-Position: refs/heads/master@{#404938}
21 files changed