diff --git a/editor/base/CreateElementTxn.h b/editor/base/CreateElementTxn.h index 7e4f8cafb75..e19a3fe5654 100644 --- a/editor/base/CreateElementTxn.h +++ b/editor/base/CreateElementTxn.h @@ -22,7 +22,6 @@ #include "EditTxn.h" #include "nsIEditor.h" #include "nsIDOMNode.h" -#include "nsIDOMElement.h" #include "nsCOMPtr.h" #define CREATE_ELEMENT_TXN_IID \ @@ -89,7 +88,7 @@ protected: PRUint32 mOffsetInParent; /** the new node to insert */ - nsCOMPtr mNewNode; + nsCOMPtr mNewNode; /** the node we will insert mNewNode before. We compute this ourselves. */ nsCOMPtr mRefNode; diff --git a/editor/libeditor/base/CreateElementTxn.h b/editor/libeditor/base/CreateElementTxn.h index 7e4f8cafb75..e19a3fe5654 100644 --- a/editor/libeditor/base/CreateElementTxn.h +++ b/editor/libeditor/base/CreateElementTxn.h @@ -22,7 +22,6 @@ #include "EditTxn.h" #include "nsIEditor.h" #include "nsIDOMNode.h" -#include "nsIDOMElement.h" #include "nsCOMPtr.h" #define CREATE_ELEMENT_TXN_IID \ @@ -89,7 +88,7 @@ protected: PRUint32 mOffsetInParent; /** the new node to insert */ - nsCOMPtr mNewNode; + nsCOMPtr mNewNode; /** the node we will insert mNewNode before. We compute this ourselves. */ nsCOMPtr mRefNode;