summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorsky@chromium.org <sky@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-03-02 16:34:45 +0000
committersky@chromium.org <sky@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-03-02 16:34:45 +0000
commitd4d58c6f71800542818bdf8cc48da36d31deaac8 (patch)
treeebbdc5766749d37517751573878df8b6b05cffee
parent4bd5c4d679e81a42eafb6414f0bbb9e658178c4c (diff)
downloadchromium_src-d4d58c6f71800542818bdf8cc48da36d31deaac8.zip
chromium_src-d4d58c6f71800542818bdf8cc48da36d31deaac8.tar.gz
chromium_src-d4d58c6f71800542818bdf8cc48da36d31deaac8.tar.bz2
Fixes bug in showing omnibox popup on a mac where if the new bounds was
the same as the last bounds the popup wouldn't show. BUG=73984 TEST=make sure omnibox popup shows up correctly. Review URL: http://codereview.chromium.org/6602065 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@76549 0039d316-1c4b-4281-b951-d872f2087c98
-rw-r--r--chrome/browser/autocomplete/autocomplete_popup_view_mac.mm2
1 files changed, 2 insertions, 0 deletions
diff --git a/chrome/browser/autocomplete/autocomplete_popup_view_mac.mm b/chrome/browser/autocomplete/autocomplete_popup_view_mac.mm
index 48afd85..4046e0a 100644
--- a/chrome/browser/autocomplete/autocomplete_popup_view_mac.mm
+++ b/chrome/browser/autocomplete/autocomplete_popup_view_mac.mm
@@ -439,6 +439,8 @@ void AutocompletePopupViewMac::UpdatePopupAppearance() {
popup_.reset(nil);
+ targetPopupFrame_ = NSZeroRect;
+
return;
}