Index: chrome/browser/ui/views/omnibox/omnibox_view_views.cc |
diff --git a/chrome/browser/ui/views/omnibox/omnibox_view_views.cc b/chrome/browser/ui/views/omnibox/omnibox_view_views.cc |
index 088bab5048d99f63cb04e88d36f0639d81db7063..b09fb8ba55e658f224407ecf9dd9b7e57d8051ba 100644 |
--- a/chrome/browser/ui/views/omnibox/omnibox_view_views.cc |
+++ b/chrome/browser/ui/views/omnibox/omnibox_view_views.cc |
@@ -316,6 +316,10 @@ bool OmniboxViewViews::IsImeComposing() const { |
} |
void OmniboxViewViews::ExecuteCommand(int command_id, int event_flags) { |
+ // In the base class, touch text selection is deactivated when a command is |
+ // executed. Since we are not always calling the base class implementation |
+ // here, we need to deactivate touch text selection here, too. |
+ DestroyTouchSelection(); |
switch (command_id) { |
// These commands don't invoke the popup via OnBefore/AfterPossibleChange(). |
case IDS_PASTE_AND_GO: |