summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorwolfbeast <mcwerewolf@wolfbeast.com>2020-05-26 05:17:04 +0200
committerwolfbeast <mcwerewolf@wolfbeast.com>2020-05-26 05:17:04 +0200
commitbe3acde802e7d24207dfc6c6d2e88225f063baf6 (patch)
tree6887c351fa15ad60002216a9ccd2e4c2521c0505
parent5377605d6355f26cb08a4b8d5e43130599f3ac56 (diff)
downloadUXP-be3acde802e7d24207dfc6c6d2e88225f063baf6.tar
UXP-be3acde802e7d24207dfc6c6d2e88225f063baf6.tar.gz
UXP-be3acde802e7d24207dfc6c6d2e88225f063baf6.tar.lz
UXP-be3acde802e7d24207dfc6c6d2e88225f063baf6.tar.xz
UXP-be3acde802e7d24207dfc6c6d2e88225f063baf6.zip
Issue #1564 - Fix debug build dependencies
-rw-r--r--dom/bindings/SimpleGlobalObject.cpp1
-rw-r--r--dom/worklet/WorkletGlobalScope.cpp1
-rw-r--r--editor/libeditor/CSSEditUtils.cpp3
-rw-r--r--editor/libeditor/HTMLAnonymousNodeEditor.cpp3
-rw-r--r--editor/libeditor/HTMLEditUtils.h4
5 files changed, 12 insertions, 0 deletions
diff --git a/dom/bindings/SimpleGlobalObject.cpp b/dom/bindings/SimpleGlobalObject.cpp
index 88710f7d9..34e204dc7 100644
--- a/dom/bindings/SimpleGlobalObject.cpp
+++ b/dom/bindings/SimpleGlobalObject.cpp
@@ -13,6 +13,7 @@
#include "nsNullPrincipal.h"
#include "nsThreadUtils.h"
#include "nsContentUtils.h"
+#include "nsWrapperCacheInlines.h"
#include "xpcprivate.h"
diff --git a/dom/worklet/WorkletGlobalScope.cpp b/dom/worklet/WorkletGlobalScope.cpp
index 8c05a0abe..430e12b76 100644
--- a/dom/worklet/WorkletGlobalScope.cpp
+++ b/dom/worklet/WorkletGlobalScope.cpp
@@ -8,6 +8,7 @@
#include "mozilla/dom/WorkletGlobalScopeBinding.h"
#include "mozilla/dom/Console.h"
#include "nsContentUtils.h"
+#include "nsWrapperCacheInlines.h"
namespace mozilla {
namespace dom {
diff --git a/editor/libeditor/CSSEditUtils.cpp b/editor/libeditor/CSSEditUtils.cpp
index d8146ca65..dd15a8730 100644
--- a/editor/libeditor/CSSEditUtils.cpp
+++ b/editor/libeditor/CSSEditUtils.cpp
@@ -17,6 +17,9 @@
#include "nsCOMPtr.h"
#include "nsColor.h"
#include "nsComputedDOMStyle.h"
+#ifdef DEBUG
+#include "nsDocument.h"
+#endif
#include "nsDebug.h"
#include "nsDependentSubstring.h"
#include "nsError.h"
diff --git a/editor/libeditor/HTMLAnonymousNodeEditor.cpp b/editor/libeditor/HTMLAnonymousNodeEditor.cpp
index 48f20fd04..798f5c330 100644
--- a/editor/libeditor/HTMLAnonymousNodeEditor.cpp
+++ b/editor/libeditor/HTMLAnonymousNodeEditor.cpp
@@ -11,6 +11,9 @@
#include "nsCOMPtr.h"
#include "nsComputedDOMStyle.h"
#include "nsDebug.h"
+#ifdef DEBUG
+#include "nsDocument.h"
+#endif
#include "nsError.h"
#include "nsGkAtoms.h"
#include "nsIAtom.h"
diff --git a/editor/libeditor/HTMLEditUtils.h b/editor/libeditor/HTMLEditUtils.h
index 4bbb6fdf3..95d3c0375 100644
--- a/editor/libeditor/HTMLEditUtils.h
+++ b/editor/libeditor/HTMLEditUtils.h
@@ -7,6 +7,10 @@
#define HTMLEditUtils_h
#include <stdint.h>
+#ifdef DEBUG
+// Used by various files for debug logging; included here to reduce duplication
+#include "nsDocument.h"
+#endif
class nsIDOMNode;
class nsINode;