DescriptionUse registerWeakMembers to clean up IntersectionObserver.
Pre-oilpan, when the root disappears, it observers are cleaned up
in NodeIntersectionObserverData::dispose().
Post-oilpan, the cleanup will be done with registerWeakMembers.
BUG=540528
R=haraken@chromium.org,dcheng@chromium.org
Committed: https://crrev.com/546573354e47ddd01f491c382701fa51500f85eb
Cr-Commit-Position: refs/heads/master@{#369948}
Patch Set 1 #
Total comments: 2
Messages
Total messages: 13 (3 generated)
|