Chromium Code Reviews
DescriptionPropagate viewport intersection across OOPIFs at the correct time
This corrects a couple of issues with how viewport intersection rects
were being sent to OOPIF processes from their parents, which was causing
frame throttling bugs:
1. The update is now triggered from the parent FrameView's
UpdateViewportIntersectionsForSubtree, rather than the RemoteFrameView's
frameRectsChanged. Formerly, this would cause intersection calculations
in a dirty layout tree, and also fail to propagate intersection rect
changes in the case of nested OOPIFs.
2. Viewport intersections are now updated properly when the iframe
is scrolled off of screen. Previously it would return early when an
OOPIF had no viewport intersection, which was wrong.
BUG=682307, 712320
CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:linux_site_isolation
Review-Url: https://codereview.chromium.org/2860903003
Cr-Commit-Position: refs/heads/master@{#469977}
Committed: https://chromium.googlesource.com/chromium/src/+/321a171abcca381e3ef72d01996e4ae4dd860212
Patch Set 1 #Patch Set 2 : Rebase #
Total comments: 7
Patch Set 3 : DCHECK removed. #
Messages
Total messages: 25 (14 generated)
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||