summaryrefslogtreecommitdiffstats
path: root/editor/libeditor/InsertTextTransaction.h
diff options
context:
space:
mode:
Diffstat (limited to 'editor/libeditor/InsertTextTransaction.h')
-rw-r--r--editor/libeditor/InsertTextTransaction.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/editor/libeditor/InsertTextTransaction.h b/editor/libeditor/InsertTextTransaction.h
index f97f20e37..b6867ad76 100644
--- a/editor/libeditor/InsertTextTransaction.h
+++ b/editor/libeditor/InsertTextTransaction.h
@@ -76,7 +76,7 @@ private:
nsString mStringToInsert;
// The editor, which we'll need to get the selection.
- EditorBase& mEditorBase;
+ RefPtr<EditorBase> mEditorBase;
RangeUpdater* mRangeUpdater;
};