commit | 546573354e47ddd01f491c382701fa51500f85eb | [log] [tgz] |
---|---|---|
author | szager <szager@chromium.org> | Sat Jan 16 07:36:23 2016 |
committer | Commit bot <commit-bot@chromium.org> | Sat Jan 16 07:37:14 2016 |
tree | 003a1a39d129c634c2ccf9679da1db1fe071afe8 | |
parent | 933a299a284ec32ebc43c28a2ee7086f73deb3c1 [diff] |
Use 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 Review URL: https://codereview.chromium.org/1591763003 Cr-Commit-Position: refs/heads/master@{#369948}