[omnibox] More correct OmniboxResultView::CalculatePreferredSize().
Even though the suggestion view and the keyword view take up the same space, that doesn't mean the suggestion view is guaranteed to be at least as large as the keyword view. Use the max of the two sizes. Bug: none Change-Id: Ia08506e8ce2742ce09833930572c278c2ceb9909 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1857652 Commit-Queue: Peter Kasting <pkasting@chromium.org> Auto-Submit: Peter Kasting <pkasting@chromium.org> Reviewed-by:Kevin Bailey <krb@chromium.org> Cr-Commit-Position: refs/heads/master@{#706241}
Showing
Please register or sign in to comment