| Index: Source/core/editing/Editor.cpp
|
| diff --git a/Source/core/editing/Editor.cpp b/Source/core/editing/Editor.cpp
|
| index ba4484d2aac3492583c216773431702b3b8b7d96..c08d976fd6e73036306ca1be4443f185cc9daf3e 100644
|
| --- a/Source/core/editing/Editor.cpp
|
| +++ b/Source/core/editing/Editor.cpp
|
| @@ -807,7 +807,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);
|
| }
|
| }
|
| }
|
|
|