summaryrefslogtreecommitdiffstats
path: root/dom/base/DOMIntersectionObserver.h
diff options
context:
space:
mode:
authorwolfbeast <mcwerewolf@gmail.com>2018-06-27 16:00:53 +0200
committerwolfbeast <mcwerewolf@gmail.com>2018-06-27 16:00:53 +0200
commit8b71cda1956ab640ad76bea36e7971476aa78bcf (patch)
treec369019586632332b2627225eb7f6adab1e285d8 /dom/base/DOMIntersectionObserver.h
parent9168a0fc95f523c7c852ca95969edb39069f4a03 (diff)
downloadUXP-8b71cda1956ab640ad76bea36e7971476aa78bcf.tar
UXP-8b71cda1956ab640ad76bea36e7971476aa78bcf.tar.gz
UXP-8b71cda1956ab640ad76bea36e7971476aa78bcf.tar.lz
UXP-8b71cda1956ab640ad76bea36e7971476aa78bcf.tar.xz
UXP-8b71cda1956ab640ad76bea36e7971476aa78bcf.zip
Stabilize and align Intersection Observers
- Fixes several crashes - Aligns the feature with the W3C WD spec Tag #249
Diffstat (limited to 'dom/base/DOMIntersectionObserver.h')
-rw-r--r--dom/base/DOMIntersectionObserver.h4
1 files changed, 1 insertions, 3 deletions
diff --git a/dom/base/DOMIntersectionObserver.h b/dom/base/DOMIntersectionObserver.h
index 3eb10ad38..8144fc5c5 100644
--- a/dom/base/DOMIntersectionObserver.h
+++ b/dom/base/DOMIntersectionObserver.h
@@ -101,9 +101,7 @@ protected:
class DOMIntersectionObserver final : public nsISupports,
public nsWrapperCache
{
- virtual ~DOMIntersectionObserver() {
- Disconnect();
- }
+ virtual ~DOMIntersectionObserver() { }
public:
DOMIntersectionObserver(already_AddRefed<nsPIDOMWindowInner>&& aOwner,