| Index: chrome/browser/ui/views/location_bar/location_bar_container_aura.cc
|
| diff --git a/chrome/browser/ui/views/location_bar/location_bar_container_aura.cc b/chrome/browser/ui/views/location_bar/location_bar_container_aura.cc
|
| index 44cebd110e01aa01def4f081bf622fc00683df95..0fa504d53bbd7d2ce15b90d6540fa02c5ea34ea2 100644
|
| --- a/chrome/browser/ui/views/location_bar/location_bar_container_aura.cc
|
| +++ b/chrome/browser/ui/views/location_bar/location_bar_container_aura.cc
|
| @@ -13,6 +13,10 @@ void LocationBarContainer::SetInToolbar(bool in_toolbar) {
|
| SetPaintToLayer(!in_toolbar);
|
| if (!in_toolbar) {
|
| layer()->SetFillsBoundsOpaquely(false);
|
| + // The LocationBarView may be taller than us (otherwise the text gets
|
| + // squished in weird ways). To allow the LocationBarView to be taller yet
|
| + // clipped to our bounds, we explicity turn on clipping.
|
| + layer()->SetMasksToBounds(true);
|
| StackAtTop();
|
| }
|
| }
|
|
|