| Index: Source/core/editing/Editor.cpp
|
| diff --git a/Source/core/editing/Editor.cpp b/Source/core/editing/Editor.cpp
|
| index 1dc4b8189dc1f15c8e294101611ebeac9042dd6e..fd6925aac166e1092ec45ae403e6deaeb933dfdb 100644
|
| --- a/Source/core/editing/Editor.cpp
|
| +++ b/Source/core/editing/Editor.cpp
|
| @@ -102,7 +102,7 @@ Editor::RevealSelectionScope::~RevealSelectionScope()
|
| ASSERT(m_editor->m_preventRevealSelection);
|
| --m_editor->m_preventRevealSelection;
|
| if (!m_editor->m_preventRevealSelection)
|
| - m_editor->frame().selection().revealSelection(ScrollAlignment::alignToEdgeIfNeeded, RevealExtent);
|
| + m_editor->frame().selection().revealSelection(ScrollAlignment::alignCenterIfNeeded, RevealExtent);
|
| }
|
|
|
| // When an event handler has moved the selection outside of a text control
|
|
|