| Index: Source/WebCore/editing/Editor.cpp
|
| ===================================================================
|
| --- Source/WebCore/editing/Editor.cpp (revision 113050)
|
| +++ Source/WebCore/editing/Editor.cpp (working copy)
|
| @@ -1000,7 +1000,7 @@
|
| // Reveal the current selection
|
| if (Frame* editedFrame = document->frame())
|
| if (Page* page = editedFrame->page())
|
| - page->focusController()->focusedOrMainFrame()->selection()->revealSelection(ScrollAlignment::alignCenterIfNeeded);
|
| + page->focusController()->focusedOrMainFrame()->selection()->revealSelection(ScrollAlignment::alignToEdgeIfNeeded);
|
| }
|
| }
|
|
|
| @@ -2339,7 +2339,7 @@
|
| if (m_ignoreCompositionSelectionChange)
|
| return;
|
|
|
| - m_frame->selection()->revealSelection(ScrollAlignment::alignCenterIfNeeded);
|
| + m_frame->selection()->revealSelection(ScrollAlignment::alignToEdgeIfNeeded);
|
| }
|
|
|
| void Editor::setIgnoreCompositionSelectionChange(bool ignore)
|
|
|