summaryrefslogtreecommitdiffstats
path: root/dom/base/Element.h
diff options
context:
space:
mode:
authorwolfbeast <mcwerewolf@gmail.com>2018-12-22 02:15:50 +0100
committerwolfbeast <mcwerewolf@gmail.com>2018-12-22 02:15:50 +0100
commitc9d920e9c630fd8b99b863e034742fd3b38e12d3 (patch)
treea2f3f8a11aa10bca612c9648b9219abc89d73e5a /dom/base/Element.h
parentba81aaf073bbf9b2e832324d1710faa4c61799ba (diff)
downloadUXP-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/Element.h')
-rw-r--r--dom/base/Element.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/dom/base/Element.h b/dom/base/Element.h
index c269ab14a..ef57a6466 100644
--- a/dom/base/Element.h
+++ b/dom/base/Element.h
@@ -1382,7 +1382,8 @@ protected:
nsDOMTokenList* GetTokenList(nsIAtom* aAtom,
const DOMTokenListSupportedTokenArray aSupportedTokens = nullptr);
- nsDataHashtable<nsPtrHashKey<DOMIntersectionObserver>, int32_t>* RegisteredIntersectionObservers();
+ nsDataHashtable<nsRefPtrHashKey<DOMIntersectionObserver>, int32_t>*
+ RegisteredIntersectionObservers();
private:
/**