| Index: chrome/browser/ui/views/location_bar/keyword_hint_view.cc
|
| diff --git a/chrome/browser/ui/views/location_bar/keyword_hint_view.cc b/chrome/browser/ui/views/location_bar/keyword_hint_view.cc
|
| index a95b7df181795f74068ec737a43eda55244fa7fa..e3f206135e0cd92170caa1d58eba37106cfcd8ac 100644
|
| --- a/chrome/browser/ui/views/location_bar/keyword_hint_view.cc
|
| +++ b/chrome/browser/ui/views/location_bar/keyword_hint_view.cc
|
| @@ -65,7 +65,7 @@ void KeywordHintView::SetKeyword(const base::string16& keyword) {
|
| trailing_label_->SetText(keyword_hint.substr(content_param_offsets.front()));
|
| }
|
|
|
| -gfx::Size KeywordHintView::GetPreferredSize() {
|
| +gfx::Size KeywordHintView::GetPreferredSize() const {
|
| // Height will be ignored by the LocationBarView.
|
| return gfx::Size(leading_label_->GetPreferredSize().width() +
|
| tab_image_->GetPreferredSize().width() +
|
| @@ -73,7 +73,7 @@ gfx::Size KeywordHintView::GetPreferredSize() {
|
| 0);
|
| }
|
|
|
| -gfx::Size KeywordHintView::GetMinimumSize() {
|
| +gfx::Size KeywordHintView::GetMinimumSize() const {
|
| // Height will be ignored by the LocationBarView.
|
| return tab_image_->GetPreferredSize();
|
| }
|
|
|