Move LayoutShift entry construction into LayoutShiftTracker.
Also declare the capacity of the HeapVector for the attribution list, accept it in the LayoutShift constructor, and allow the binding layer to cache the FrozenArray. Bug: 1053510 Change-Id: If0dde547631d3fd95d087d7b8d2116055e382b22 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2153002 Commit-Queue: Steve Kobes <skobes@chromium.org> Reviewed-by:Nicolás Peña Moreno <npm@chromium.org> Cr-Commit-Position: refs/heads/master@{#760547}
Showing
Please register or sign in to comment