-
Notifications
You must be signed in to change notification settings - Fork 127
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Get rid of redundant intersection computation
Currently, we compute the intersection of a frame with the top-level viewport in two places: once to control throttling of off-screen iframes, and again to propagate viewport intersection information to OOPIF's, to use for running the IntersectionObserver algorithm. With this CL, the viewport intersection is computed once for both consumers. Cherry-picked from: https://chromium-review.googlesource.com/c/chromium/src/+/1504503 BUG=926539 [email protected] Change-Id: Ia7b964a59647d5efb05279f28652e07031181872 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1518715 Reviewed-by: Stefan Zager <[email protected]> Cr-Commit-Position: refs/branch-heads/3729@{#54} Cr-Branched-From: d4a8972-refs/heads/master@{#638880}
- Loading branch information
1 parent
b760288
commit 3b6cf30
Showing
6 changed files
with
83 additions
and
113 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters