Index: content/browser/renderer_host/input/touch_selection_controller.cc |
diff --git a/content/browser/renderer_host/input/touch_selection_controller.cc b/content/browser/renderer_host/input/touch_selection_controller.cc |
index d5380487e255bb339823fe0b39f112633f0d2ce6..f174067ede9cba1b7fde5b7221655a67dc532ecf 100644 |
--- a/content/browser/renderer_host/input/touch_selection_controller.cc |
+++ b/content/browser/renderer_host/input/touch_selection_controller.cc |
@@ -140,6 +140,8 @@ void TouchSelectionController::OnTapEvent() { |
activate_selection_automatically_ = false; |
DeactivateSelection(); |
ShowInsertionHandleAutomatically(); |
+ if (selection_empty_) |
+ DeactivateInsertion(); |
ResetCachedValuesIfInactive(); |
} |