[layoutng] Get the DisplayItem id from the paint fragment
If there's a paint fragment, we're using it to paint, so we need to get the ID from that, not from the LayoutObject. Fixes 3 unit tests in paint_layer_painter_test. R=chrishtr@chromium.org, kojii@chromium.org Change-Id: Ieb3066e5a52c8b4ecdda20aa2226f5df6f32e7b4 Reviewed-on: https://chromium-review.googlesource.com/c/1338380 Commit-Queue: Christian Biesinger <cbiesinger@chromium.org> Reviewed-by:Chris Harrelson <chrishtr@chromium.org> Cr-Commit-Position: refs/heads/master@{#608520}
Showing
Please register or sign in to comment