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 444584d6264a490b8b8483f2cafcc927abd3bc46..af26613f0f92c23733beff029adaad3add486ccd 100644 |
--- a/third_party/WebKit/Source/core/editing/SelectionController.cpp |
+++ b/third_party/WebKit/Source/core/editing/SelectionController.cpp |
@@ -1045,7 +1045,8 @@ void SelectionController::SendContextMenuEvent( |
AutoReset<bool> mouse_down_may_start_select_change( |
&mouse_down_may_start_select_, true); |
- if (HitTestResultIsMisspelled(mev.GetHitTestResult())) |
+ if (HitTestResultIsMisspelled(mev.GetHitTestResult()) && |
+ !mev.Event().FromTouch()) |
return SelectClosestMisspellingFromMouseEvent(mev); |
if (!frame_->GetEditor().Behavior().ShouldSelectOnContextualMenuClick()) |