Index: chrome/browser/ui/views/omnibox/omnibox_result_view.cc |
diff --git a/chrome/browser/ui/views/omnibox/omnibox_result_view.cc b/chrome/browser/ui/views/omnibox/omnibox_result_view.cc |
index 3595aa45654211b2c78fbec98fb18645ba80bc78..15f6cf6f3840cd95b0d97c4a1a015b1a18f582c9 100644 |
--- a/chrome/browser/ui/views/omnibox/omnibox_result_view.cc |
+++ b/chrome/browser/ui/views/omnibox/omnibox_result_view.cc |
@@ -202,7 +202,7 @@ void OmniboxResultView::Invalidate() { |
SchedulePaint(); |
} |
-gfx::Size OmniboxResultView::GetPreferredSize() { |
+gfx::Size OmniboxResultView::GetPreferredSize() const { |
return gfx::Size(0, std::max( |
default_icon_size_ + (kMinimumIconVerticalPadding * 2), |
GetTextHeight() + (minimum_text_vertical_padding_ * 2))); |