| 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 e288c4afd52bb6c5355776f9e82587101e5aa60b..bfdb63c5ef88d0fbe7c6290c553f2200265d57ec 100644
|
| --- a/chrome/browser/ui/views/omnibox/omnibox_result_view.cc
|
| +++ b/chrome/browser/ui/views/omnibox/omnibox_result_view.cc
|
| @@ -290,8 +290,7 @@ gfx::Size OmniboxResultView::GetPreferredSize() const {
|
| if (!match_.answer)
|
| return gfx::Size(0, GetContentLineHeight());
|
| // An answer implies a match and a description in a large font.
|
| - const auto& text_fields = match_.answer->second_line().text_fields();
|
| - if (text_fields.empty() || !text_fields.front().has_num_lines())
|
| + if (match_.answer->SecondLineSize() == 1)
|
| return gfx::Size(0, GetContentLineHeight() + GetAnswerLineHeight());
|
| if (!description_rendertext_) {
|
| description_rendertext_ =
|
|
|