summaryrefslogtreecommitdiffstats
path: root/editor/libeditor/CompositionTransaction.h
diff options
context:
space:
mode:
Diffstat (limited to 'editor/libeditor/CompositionTransaction.h')
-rw-r--r--editor/libeditor/CompositionTransaction.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/editor/libeditor/CompositionTransaction.h b/editor/libeditor/CompositionTransaction.h
index acb3d8beb..c2134bedd 100644
--- a/editor/libeditor/CompositionTransaction.h
+++ b/editor/libeditor/CompositionTransaction.h
@@ -90,7 +90,7 @@ private:
nsString mStringToInsert;
// The editor, which is used to get the selection controller.
- EditorBase& mEditorBase;
+ RefPtr<EditorBase> mEditorBase;
RangeUpdater* mRangeUpdater;