[IntersectionObserver] Compute RootGeometry once per observer
For an observer with multiple observations, this avoids doing redundant work to compute the local bounds of the root and its transform to absolute coordinates. BUG=956071 Change-Id: I587997da1f5f120a1fd276f703aa1e5a1131696b Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1774246 Commit-Queue: Stefan Zager <szager@chromium.org> Reviewed-by:vmpstr <vmpstr@chromium.org> Cr-Commit-Position: refs/heads/master@{#692206}
Showing
Please register or sign in to comment