Chromium Code Reviews| 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..5a9362d999c70e7a9f44560b41a915fec0a2cbc1 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,8 @@ void LocationBarContainer::SetInToolbar(bool in_toolbar) { |
| SetPaintToLayer(!in_toolbar); |
| if (!in_toolbar) { |
| layer()->SetFillsBoundsOpaquely(false); |
| + // Allows clipping of children. |
|
sky
2012/09/13 19:58:24
This comment duplicates what the code is doing. In
kuan
2012/09/13 20:13:28
Done.
|
| + layer()->SetMasksToBounds(true); |
| StackAtTop(); |
| } |
| } |