DescriptionGet rid of obsolete FrameView::m_shouldUpdateViewportIntersection.
This was originally intended as an optimization, but now that all
intersection tracking happens through IntersectionObserver, and all
active observers must run on each frame, it makes no sense to
short-circuit the recursion in updateViewportIntersectionsForSubtree.
This also allows us to remove IntersectionObserver::trackingDocument,
which was a wart introduced to fix a bug where observers defined in
subframes were not generating IntersectionObserver notifications, as
discussed here:
https://codereview.chromium.org/2553343004
BUG=677620
R=skyostil@chromium.org
Review-Url: https://codereview.chromium.org/2610963003
Cr-Commit-Position: refs/heads/master@{#441811}
Committed: https://chromium.googlesource.com/chromium/src/+/33233d198c4f17bc6016bb2f9f59e64232c7f541
Patch Set 1 #Patch Set 2 : Added test #Patch Set 3 : rebase #
Messages
Total messages: 23 (11 generated)
|