Resolve touch bar crash issue when default search provider is disabled.
Default search provider maybe null when it's disabled by policy. Make sure the touch bar search button can handle this case with an empty button. User is still able to press the button to enter URL. Screenshot: https://drive.google.com/file/d/1Sw8xd2bl4MGfF2p2qrT7PKF4bQ2jczRC/view?usp=sharing Bug: 1011260 Change-Id: Iba221a4d65baff7cc5485de43f4b145481c2d1f8 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1841837 Commit-Queue: Owen Min <zmin@chromium.org> Reviewed-by:Sidney San Martín <sdy@chromium.org> Cr-Commit-Position: refs/heads/master@{#709125}
Showing
Please register or sign in to comment