[omnibox] Set dimensions of tab switch button before measuring
We were measuring the tab switch button size before setting all the relevant aspects. When we requested a size, it was therefore too big. This corrects that and, since the size is more appropriate, we don't need the left justification, which was broken when there wasn't any text anyways. Bug: 780835 Change-Id: I72bd6aedc84837864dc6fe764e4ce865f9170cb4 Reviewed-on: https://chromium-review.googlesource.com/1108452Reviewed-by:Tommy Li <tommycli@chromium.org> Commit-Queue: Kevin Bailey <krb@chromium.org> Cr-Commit-Position: refs/heads/master@{#569670}
Showing
Please register or sign in to comment