| Index: Source/core/editing/Editor.cpp
|
| diff --git a/Source/core/editing/Editor.cpp b/Source/core/editing/Editor.cpp
|
| index 0dc1f6d4bb8980881db641d741b1965ecd8333d8..d1c30dd2d26b45c97cb0feeec451352eda08c1d2 100644
|
| --- a/Source/core/editing/Editor.cpp
|
| +++ b/Source/core/editing/Editor.cpp
|
| @@ -805,7 +805,7 @@ bool Editor::insertTextWithoutSendingTextEvent(const String& text, bool selectIn
|
| // Reveal the current selection
|
| if (LocalFrame* editedFrame = document->frame()) {
|
| if (Page* page = editedFrame->page())
|
| - page->focusController().focusedOrMainFrame()->selection().revealSelection(ScrollAlignment::alignCenterIfNeeded);
|
| + toLocalFrame(page->focusController().focusedOrMainFrame())->selection().revealSelection(ScrollAlignment::alignCenterIfNeeded);
|
| }
|
| }
|
| }
|
|
|