Ensure JankTracker uses object's PropertyTreeState
Previously, we used the PaintLayer's LayoutObject. Xianzhu pointed out that there can be cases where a LayoutObject does not have its own PaintLayer, and that we should instead use the PropertyTreeState directly associated with the currently painting object. Change-Id: I4daf0d1f03507ca45f3e78bf2d3f93b4b6848efd Bug: 971639 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1644939Reviewed-by:Xianzhu Wang <wangxianzhu@chromium.org> Commit-Queue: Bryan McQuade <bmcquade@chromium.org> Cr-Commit-Position: refs/heads/master@{#667309}
Showing
Please register or sign in to comment