| Index: chrome/browser/ui/views/omnibox/omnibox_view_win.cc
|
| diff --git a/chrome/browser/ui/views/omnibox/omnibox_view_win.cc b/chrome/browser/ui/views/omnibox/omnibox_view_win.cc
|
| index 782c9b01c4280186eb221ddfc7bfef57ae682438..ac045c7e8d1b0194e194e013d0845cb73fc5fb74 100644
|
| --- a/chrome/browser/ui/views/omnibox/omnibox_view_win.cc
|
| +++ b/chrome/browser/ui/views/omnibox/omnibox_view_win.cc
|
| @@ -506,7 +506,8 @@ OmniboxViewWin::OmniboxViewWin(AutocompleteEditController* controller,
|
|
|
| // We set font_y_adjustment_ so that the ascender of the font gets
|
| // centered on the available height of the view.
|
| - font_y_adjustment_ = (parent_view->GetHeight() - cap_height) / 2 -
|
| + font_y_adjustment_ =
|
| + (parent_view->GetPreferredInternalHeight() - cap_height) / 2 -
|
| tm.tmInternalLeading;
|
|
|
| // Get the number of twips per pixel, which we need below to offset our text
|
|
|