summaryrefslogtreecommitdiffstats
path: root/chrome/browser/autocomplete
diff options
context:
space:
mode:
authorpkasting@chromium.org <pkasting@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-02-04 01:02:00 +0000
committerpkasting@chromium.org <pkasting@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-02-04 01:02:00 +0000
commitb42a775d173e7e66271d82a5ea00ca8efcf37081 (patch)
tree618bc1a3ebbe2c3f9a70404c2e8fcd2befc9550f /chrome/browser/autocomplete
parentf13b4acdd4699cd35d85dc742dc5719ed7755fc2 (diff)
downloadchromium_src-b42a775d173e7e66271d82a5ea00ca8efcf37081.zip
chromium_src-b42a775d173e7e66271d82a5ea00ca8efcf37081.tar.gz
chromium_src-b42a775d173e7e66271d82a5ea00ca8efcf37081.tar.bz2
Improved OTR avatar and popup window rendering. Neither one precisely matches the old code but IMO each looks better.
Once again, the aero_glass_non_client_view changes here are hackish, and will get cleaned up later. BUG=5054 Review URL: http://codereview.chromium.org/20011 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@9116 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/autocomplete')
-rw-r--r--chrome/browser/autocomplete/autocomplete_popup.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/chrome/browser/autocomplete/autocomplete_popup.cc b/chrome/browser/autocomplete/autocomplete_popup.cc
index c8c3f79..773f7f0 100644
--- a/chrome/browser/autocomplete/autocomplete_popup.cc
+++ b/chrome/browser/autocomplete/autocomplete_popup.cc
@@ -122,7 +122,7 @@ void AutocompletePopupView::UpdatePopupAppearance() {
// TODO(pkasting): http://b/972786 This shouldn't be hardcoded to rely on
// LocationBarView constants. Instead we should just make the edit be "at the
// right coordinates", or something else generic.
- rc.InflateRect(1, -LocationBarView::kTextVertMargin);
+ rc.InflateRect(1, -LocationBarView::kVertMargin);
// Now rc is the exact width we want and is positioned like the edit would
// be, so shift the top and bottom downwards so the new top is where the old
// bottom is and the rect has the height we need for all our entries, plus a