summaryrefslogtreecommitdiffstats
path: root/editor
diff options
context:
space:
mode:
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 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;