summaryrefslogtreecommitdiffstats
path: root/editor/libeditor/CreateElementTransaction.h
diff options
context:
space:
mode:
Diffstat (limited to 'editor/libeditor/CreateElementTransaction.h')
-rw-r--r--editor/libeditor/CreateElementTransaction.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/editor/libeditor/CreateElementTransaction.h b/editor/libeditor/CreateElementTransaction.h
index 70fecceae..fd5abb8a8 100644
--- a/editor/libeditor/CreateElementTransaction.h
+++ b/editor/libeditor/CreateElementTransaction.h
@@ -57,7 +57,7 @@ protected:
virtual ~CreateElementTransaction();
// The document into which the new node will be inserted.
- EditorBase* mEditorBase;
+ RefPtr<EditorBase> mEditorBase;
// The tag (mapping to object type) for the new element.
nsCOMPtr<nsIAtom> mTag;