Index: chrome/browser/ui/views/location_bar/location_bar_view.cc |
=================================================================== |
--- chrome/browser/ui/views/location_bar/location_bar_view.cc (revision 202159) |
+++ chrome/browser/ui/views/location_bar/location_bar_view.cc (working copy) |
@@ -246,10 +246,7 @@ |
gfx::Font font(ui::ResourceBundle::GetSharedInstance().GetFont( |
ui::ResourceBundle::BaseFont)); |
const int current_font_size = font.GetFontSize(); |
- const int kAutocompleteEditFontPixelSize = 15; |
- const int kAutocompleteEditFontPixelSizeInPopup = 12; |
- const int desired_font_size = is_popup_mode_ ? |
- kAutocompleteEditFontPixelSizeInPopup : kAutocompleteEditFontPixelSize; |
+ const int desired_font_size = browser_defaults::kOmniboxFontPixelSize; |
if (current_font_size < desired_font_size) |
font = font.DeriveFont(desired_font_size - current_font_size); |
// Shrink large fonts to make them fit. |