summaryrefslogtreecommitdiffstats
path: root/dom/base/nsDOMMutationObserver.cpp
diff options
context:
space:
mode:
authorwolfbeast <mcwerewolf@wolfbeast.com>2020-04-14 14:19:58 +0200
committerwolfbeast <mcwerewolf@wolfbeast.com>2020-04-14 14:19:58 +0200
commit871e57fdd6d7e7aabf00f47f1b30e2ed084eed69 (patch)
tree248b28819df096df9b485efc4343f5c0bbf3517c /dom/base/nsDOMMutationObserver.cpp
parent03530de64fdaef41a9e3383a99a4b023de27f0bf (diff)
downloadUXP-871e57fdd6d7e7aabf00f47f1b30e2ed084eed69.tar
UXP-871e57fdd6d7e7aabf00f47f1b30e2ed084eed69.tar.gz
UXP-871e57fdd6d7e7aabf00f47f1b30e2ed084eed69.tar.lz
UXP-871e57fdd6d7e7aabf00f47f1b30e2ed084eed69.tar.xz
UXP-871e57fdd6d7e7aabf00f47f1b30e2ed084eed69.zip
Issue #80 - De-unify dom/base and fix deprot.
Diffstat (limited to 'dom/base/nsDOMMutationObserver.cpp')
-rw-r--r--dom/base/nsDOMMutationObserver.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/dom/base/nsDOMMutationObserver.cpp b/dom/base/nsDOMMutationObserver.cpp
index 858a30ce5..0273b7b94 100644
--- a/dom/base/nsDOMMutationObserver.cpp
+++ b/dom/base/nsDOMMutationObserver.cpp
@@ -7,6 +7,7 @@
#include "nsDOMMutationObserver.h"
#include "mozilla/AnimationTarget.h"
+#include "mozilla/CycleCollectedJSContext.h"
#include "mozilla/Maybe.h"
#include "mozilla/OwningNonNull.h"
@@ -29,6 +30,9 @@ using mozilla::dom::TreeOrderComparator;
using mozilla::dom::Animation;
using mozilla::dom::Element;
+using namespace mozilla;
+using namespace mozilla::dom;
+
AutoTArray<RefPtr<nsDOMMutationObserver>, 4>*
nsDOMMutationObserver::sScheduledMutationObservers = nullptr;