Index: Source/web/WebLocalFrameImpl.cpp |
diff --git a/Source/web/WebLocalFrameImpl.cpp b/Source/web/WebLocalFrameImpl.cpp |
index 4f31f2c6d4dc057ca09ebcbe14dc5f4dd9fdd10b..5b89767a3a2d16d10c457e084ce3e35b94ef7c24 100644 |
--- a/Source/web/WebLocalFrameImpl.cpp |
+++ b/Source/web/WebLocalFrameImpl.cpp |
@@ -1212,7 +1212,7 @@ void WebLocalFrameImpl::moveRangeSelectionExtent(const WebPoint& point) |
return; |
VisibleSelection newSelection = VisibleSelection(basePosition, extentPosition); |
- frame()->selection().setSelection(newSelection, CharacterGranularity); |
+ frame()->selection().setSelection(newSelection, FrameSelection::CloseTyping | FrameSelection::ClearTypingStyle | UserTriggered, FrameSelection::AlignCursorOnScrollIfNeeded, CharacterGranularity); |
} |
void WebLocalFrameImpl::moveRangeSelection(const WebPoint& base, const WebPoint& extent) |