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 2bdb9123ea29ecd7974fc3feb198422ca43460e8..8a8cc30b4b91f03ba36d0a1674f99535ca413fd8 100644 |
--- a/third_party/WebKit/Source/core/editing/SelectionController.cpp |
+++ b/third_party/WebKit/Source/core/editing/SelectionController.cpp |
@@ -37,6 +37,7 @@ |
#include "core/editing/RenderedPosition.h" |
#include "core/editing/iterators/TextIterator.h" |
#include "core/editing/markers/DocumentMarkerController.h" |
+#include "core/editing/suggestion/TextSuggestionController.h" |
#include "core/events/Event.h" |
#include "core/frame/LocalFrame.h" |
#include "core/frame/LocalFrameView.h" |
@@ -279,6 +280,12 @@ bool SelectionController::HandleSingleClick( |
kCharacterGranularity, |
is_handle_visible ? HandleVisibility::kVisible |
: HandleVisibility::kNotVisible); |
+ |
+ if (event.Event().FromTouch()) { |
+ frame_->GetTextSuggestionController().HandlePotentialMisspelledWordTap( |
+ visible_pos); |
+ } |
+ |
return false; |
} |