Description[SPv2] Fix layout test crashes about raster invalidation
1. FrameView::SetTracksPaintInvalidations() may be called before
FrameView::PrePaint(), so we need to create paint_controller_ if it
is null, and check null paint_artifact_compositor_.
2. Previously when an old chunk is deleted, we still kept the tracked
raster invalidations. When a new chunk was created at the same
address, the new chunk inherited the old trackings.
BUG=644358
CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:linux_layout_tests_slimming_paint_v2
R=chrishtr@chromium.org
Review-Url: https://codereview.chromium.org/2874553002 .
Cr-Commit-Position: refs/heads/master@{#470997}
Committed: https://chromium.googlesource.com/chromium/src/+/536ac1bf9b09f54680b6f97b8a8a020026413517
Patch Set 1 #Patch Set 2 : - #Patch Set 3 : - #
Total comments: 4
Patch Set 4 : Reduce #Patch Set 5 : - #
Dependent Patchsets: Messages
Total messages: 17 (11 generated)
|