Fix DCHECK in AssistantCardElementView.
When the Assistant response's first UI element is a card, the card is given an empty top border for spacing. When this occurs, DCHECK fails because we were previously expecting local bounds when we should be expecting contents bounds. Bug: b:153904177 Change-Id: I7f28149cb6317836c76f566827526c8220f0e5a9 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2148221Reviewed-by:Tao Wu <wutao@chromium.org> Commit-Queue: David Black <dmblack@google.com> Cr-Commit-Position: refs/heads/master@{#759068}
Showing
Please register or sign in to comment