[omnibox] Recreating tab switch button on appropriate set match
The tab switch button won't show background changes after being hidden and re-shown. This is to work-around that, by recreating it on each set match that needs it. (Creating it is needed if the match type is a tab switch and the tab switch button behavior was enabled.) This change also restores the strategy of not creating a tab switch button unless and until needed. Bug: 825372 Change-Id: I0b808969ee5e9b91e3ca292fa929447da148d75c Reviewed-on: https://chromium-review.googlesource.com/992356 Commit-Queue: Kevin Bailey <krb@chromium.org> Reviewed-by:Justin Donnelly <jdonnelly@chromium.org> Cr-Commit-Position: refs/heads/master@{#547834}
Showing
Please register or sign in to comment