[PE] Ensure PaintChunk::hit_test_data is updated in a cached subsequence
Previously PaintChunk::hit_test_data was updated only in HitTestData::RecordHitTestRect(), so when we copied cached subsequence, the PaintChunks didn't have hit_test_data. Now add HitTestDisplayItem to store the hit test data in display items, and update PaintChunk::hit_test_data in PaintArtifact constructor. Change-Id: I8a96823f15c0107fc21e5b388763ebfc3925eef0 Reviewed-on: https://chromium-review.googlesource.com/c/1325570 Commit-Queue: Xianzhu Wang <wangxianzhu@chromium.org> Reviewed-by:Philip Rogers <pdr@chromium.org> Cr-Commit-Position: refs/heads/master@{#606921}
Showing
Please register or sign in to comment