diff options
author | wolfbeast <mcwerewolf@wolfbeast.com> | 2020-05-26 05:17:04 +0200 |
---|---|---|
committer | wolfbeast <mcwerewolf@wolfbeast.com> | 2020-05-26 05:17:04 +0200 |
commit | 71fe04b33c2a4e693e79b829ef63d72d22b59fb7 (patch) | |
tree | 6887c351fa15ad60002216a9ccd2e4c2521c0505 /editor | |
parent | 708ae57592a2076e2e65d7389d63dfa546a3721b (diff) | |
download | aura-central-71fe04b33c2a4e693e79b829ef63d72d22b59fb7.tar.gz |
Issue mcp-graveyard/UXP%1564 - Fix debug build dependencies
Diffstat (limited to 'editor')
-rw-r--r-- | editor/libeditor/CSSEditUtils.cpp | 3 | ||||
-rw-r--r-- | editor/libeditor/HTMLAnonymousNodeEditor.cpp | 3 | ||||
-rw-r--r-- | editor/libeditor/HTMLEditUtils.h | 4 |
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; |