[omnibox] [rich-autocompletion] Fix omnibox width when empty.
This CL fixes a typo introduced in crrev.com/c/2324212 that would prevent the omnibox's width being updated in |LocationBarView::Layout()| if: - RichAutocompletionShowAdditionalText was enabled (default) - RichAutocompletionTwoLineOmnibox was disabled (default) - The omnibox was empty This resulted in - The hint 'Search Google or type a URL' when the omnibox is cleared and blurred or when on the NTP. - The cursor being misplaced when entering keyword mode which clears the user text. Bug: 1128094, 1062446 Change-Id: I073a9c75db1266d02a192675149211bad7615a8d Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2410591Reviewed-by:Tommy Li <tommycli@chromium.org> Commit-Queue: manuk hovanesian <manukh@chromium.org> Cr-Commit-Position: refs/heads/master@{#807087}
Showing
Please register or sign in to comment