Fix tab hover cards causing crashing when trying to get bubble bounds.

The crashing is caused by trying to get or set the anchor view which is gone. To fix this we get the bubble's bounds when the anchor view is set.

Bug: 965642
Change-Id: I0b2a788d09f04e09f51c5db1d723484b88f0bcd4
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1625487
Commit-Queue: Caroline Rising <corising@chromium.org>
Reviewed-by: Dana Fried <dfried@chromium.org>
Cr-Commit-Position: refs/heads/master@{#662916}
1 file changed