summaryrefslogtreecommitdiff
path: root/editor
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 /editor
parent5377605d6355f26cb08a4b8d5e43130599f3ac56 (diff)
downloaduxp-be3acde802e7d24207dfc6c6d2e88225f063baf6.tar.gz
Issue #1564 - Fix debug build dependencies
Diffstat (limited to 'editor')
-rw-r--r--editor/libeditor/CSSEditUtils.cpp3
-rw-r--r--editor/libeditor/HTMLAnonymousNodeEditor.cpp3
-rw-r--r--editor/libeditor/HTMLEditUtils.h4
3 files changed, 10 insertions, 0 deletions
diff --git a/editor/libeditor/CSSEditUtils.cpp b/editor/libeditor/CSSEditUtils.cpp
index d8146ca654..dd15a8730a 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 48f20fd040..798f5c330f 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 4bbb6fdf3c..95d3c0375b 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;