summaryrefslogtreecommitdiffstats
path: root/chrome/android/shell
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/android/shell')
-rw-r--r--chrome/android/shell/java/src/org/chromium/chrome/shell/ChromeShellToolbar.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/chrome/android/shell/java/src/org/chromium/chrome/shell/ChromeShellToolbar.java b/chrome/android/shell/java/src/org/chromium/chrome/shell/ChromeShellToolbar.java
index 3df6a38..16f1dae 100644
--- a/chrome/android/shell/java/src/org/chromium/chrome/shell/ChromeShellToolbar.java
+++ b/chrome/android/shell/java/src/org/chromium/chrome/shell/ChromeShellToolbar.java
@@ -104,7 +104,6 @@ public class ChromeShellToolbar extends LinearLayout {
return false;
}
- mSuggestionPopup.dismissPopup();
mTab.loadUrlWithSanitization(mUrlTextView.getText().toString());
mUrlTextView.clearFocus();
setKeyboardVisibilityForUrl(false);
@@ -118,6 +117,7 @@ public class ChromeShellToolbar extends LinearLayout {
setKeyboardVisibilityForUrl(hasFocus);
if (!hasFocus) {
mUrlTextView.setText(mTab.getContentViewCore().getUrl());
+ mSuggestionPopup.dismissPopup();
}
}
});