Index: third_party/WebKit/Source/core/editing/SelectionController.cpp |
diff --git a/third_party/WebKit/Source/core/editing/SelectionController.cpp b/third_party/WebKit/Source/core/editing/SelectionController.cpp |
index 89f86731d3aaf003d5e9eb34faa355a18c0d09de..2b5b1d6877417d9c9be5f00aa10b477e1848edb9 100644 |
--- a/third_party/WebKit/Source/core/editing/SelectionController.cpp |
+++ b/third_party/WebKit/Source/core/editing/SelectionController.cpp |
@@ -1047,7 +1047,8 @@ void SelectionController::SendContextMenuEvent( |
AutoReset<bool> mouse_down_may_start_select_change( |
&mouse_down_may_start_select_, true); |
- if (HitTestResultIsMisspelled(mev.GetHitTestResult())) |
+ if (!mev.Event().FromTouch() && |
+ HitTestResultIsMisspelled(mev.GetHitTestResult())) |
return SelectClosestMisspellingFromMouseEvent(mev); |
if (!frame_->GetEditor().Behavior().ShouldSelectOnContextualMenuClick()) |