summaryrefslogtreecommitdiffstats
path: root/editor/libeditor/HTMLAnonymousNodeEditor.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'editor/libeditor/HTMLAnonymousNodeEditor.cpp')
-rw-r--r--editor/libeditor/HTMLAnonymousNodeEditor.cpp3
1 files changed, 3 insertions, 0 deletions
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"