mNewNode is a DOM Node, not a DOM Element

This commit is contained in:
buster%netscape.com 1999-03-10 19:51:07 +00:00
parent 70eb4bfeed
commit cfcffb6aff
2 changed files with 2 additions and 4 deletions

View File

@ -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<nsIDOMElement> mNewNode;
nsCOMPtr<nsIDOMNode> mNewNode;
/** the node we will insert mNewNode before. We compute this ourselves. */
nsCOMPtr<nsIDOMNode> mRefNode;

View File

@ -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<nsIDOMElement> mNewNode;
nsCOMPtr<nsIDOMNode> mNewNode;
/** the node we will insert mNewNode before. We compute this ourselves. */
nsCOMPtr<nsIDOMNode> mRefNode;