summaryrefslogtreecommitdiff
path: root/editor/libeditor/DeleteNodeTransaction.h
diff options
context:
space:
mode:
Diffstat (limited to 'editor/libeditor/DeleteNodeTransaction.h')
-rw-r--r--editor/libeditor/DeleteNodeTransaction.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/editor/libeditor/DeleteNodeTransaction.h b/editor/libeditor/DeleteNodeTransaction.h
index d0bc0dd461..369bbdf560 100644
--- a/editor/libeditor/DeleteNodeTransaction.h
+++ b/editor/libeditor/DeleteNodeTransaction.h
@@ -55,7 +55,7 @@ protected:
nsCOMPtr<nsIContent> mRefNode;
// The editor for this transaction.
- EditorBase* mEditorBase;
+ RefPtr<EditorBase> mEditorBase;
// Range updater object.
RangeUpdater* mRangeUpdater;