Focus the UrlBar before setting its text in setSearchQuery.
Previously, calling setSearchQuery when the UrlBar didn't yet have focus would result in autocomplete results being shown but no visible search query. This wasn't an issue previously, as all existing callsites explicitly focused the UrlBar. With https://chromium-review.googlesource.com/c/chromium/src/+/2496031 this will no longer be the case. Bug: 1144966 Change-Id: I6efd40b25d93704fb35665d69d07541190dd024f Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2518081 Commit-Queue: Josh Simmons <jds@google.com> Reviewed-by:Ted Choc <tedchoc@chromium.org> Reviewed-by:
Patrick Noland <pnoland@chromium.org> Cr-Commit-Position: refs/heads/master@{#825044}
Showing
Please register or sign in to comment