mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-02-07 07:04:09 +00:00
mNewNode is a DOM Node, not a DOM Element
This commit is contained in:
parent
70eb4bfeed
commit
cfcffb6aff
@ -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;
|
||||
|
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user