diff options
author | wolfbeast <mcwerewolf@gmail.com> | 2018-12-22 02:15:50 +0100 |
---|---|---|
committer | wolfbeast <mcwerewolf@gmail.com> | 2018-12-22 02:15:50 +0100 |
commit | c9d920e9c630fd8b99b863e034742fd3b38e12d3 (patch) | |
tree | a2f3f8a11aa10bca612c9648b9219abc89d73e5a /dom/base/FragmentOrElement.h | |
parent | ba81aaf073bbf9b2e832324d1710faa4c61799ba (diff) | |
download | UXP-c9d920e9c630fd8b99b863e034742fd3b38e12d3.tar UXP-c9d920e9c630fd8b99b863e034742fd3b38e12d3.tar.gz UXP-c9d920e9c630fd8b99b863e034742fd3b38e12d3.tar.lz UXP-c9d920e9c630fd8b99b863e034742fd3b38e12d3.tar.xz UXP-c9d920e9c630fd8b99b863e034742fd3b38e12d3.zip |
Revise lifetime management of IntersectionObservers.
Tag #249
Diffstat (limited to 'dom/base/FragmentOrElement.h')
-rw-r--r-- | dom/base/FragmentOrElement.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/dom/base/FragmentOrElement.h b/dom/base/FragmentOrElement.h index 7c74e9cd4..f0cc29f22 100644 --- a/dom/base/FragmentOrElement.h +++ b/dom/base/FragmentOrElement.h @@ -354,7 +354,8 @@ public: /** * Registered Intersection Observers on the element. */ - nsDataHashtable<nsPtrHashKey<DOMIntersectionObserver>, int32_t> mRegisteredIntersectionObservers; + nsDataHashtable<nsRefPtrHashKey<DOMIntersectionObserver>, int32_t> + mRegisteredIntersectionObservers; }; protected: |