summaryrefslogtreecommitdiffstats
path: root/chrome/browser/views/autocomplete/autocomplete_popup_win.cc
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/browser/views/autocomplete/autocomplete_popup_win.cc')
-rw-r--r--chrome/browser/views/autocomplete/autocomplete_popup_win.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/chrome/browser/views/autocomplete/autocomplete_popup_win.cc b/chrome/browser/views/autocomplete/autocomplete_popup_win.cc
index 30721d7..6caf2b6 100644
--- a/chrome/browser/views/autocomplete/autocomplete_popup_win.cc
+++ b/chrome/browser/views/autocomplete/autocomplete_popup_win.cc
@@ -29,7 +29,8 @@ void AutocompletePopupWin::Show() {
// Move the popup to the place appropriate for the window's current position -
// it may have been moved since it was last shown.
SetBounds(contents_->GetPopupBounds());
- WidgetWin::Show();
+ if (!IsVisible())
+ WidgetWin::Show();
is_open_ = true;
}