Index: Source/WebCore/editing/Editor.cpp |
=================================================================== |
--- Source/WebCore/editing/Editor.cpp (revision 113049) |
+++ Source/WebCore/editing/Editor.cpp (working copy) |
@@ -916,7 +916,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); |
} |
} |
@@ -2255,7 +2255,7 @@ |
if (m_ignoreCompositionSelectionChange) |
return; |
- m_frame->selection()->revealSelection(ScrollAlignment::alignCenterIfNeeded); |
+ m_frame->selection()->revealSelection(ScrollAlignment::alignToEdgeIfNeeded); |
} |
void Editor::setIgnoreCompositionSelectionChange(bool ignore) |