From be3acde802e7d24207dfc6c6d2e88225f063baf6 Mon Sep 17 00:00:00 2001 From: wolfbeast Date: Tue, 26 May 2020 05:17:04 +0200 Subject: Issue #1564 - Fix debug build dependencies --- editor/libeditor/CSSEditUtils.cpp | 3 +++ editor/libeditor/HTMLAnonymousNodeEditor.cpp | 3 +++ editor/libeditor/HTMLEditUtils.h | 4 ++++ 3 files changed, 10 insertions(+) (limited to 'editor') 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 +#ifdef DEBUG +// Used by various files for debug logging; included here to reduce duplication +#include "nsDocument.h" +#endif class nsIDOMNode; class nsINode; -- cgit v1.2.3