Chromium Code Reviews| Index: ash/system/tray/system_tray.cc |
| diff --git a/ash/system/tray/system_tray.cc b/ash/system/tray/system_tray.cc |
| index dba58c96b607dfceccf1023370f96755a245ca7a..9448859ec2410c5f29ab6730a8a7fb017759ce6f 100644 |
| --- a/ash/system/tray/system_tray.cc |
| +++ b/ash/system/tray/system_tray.cc |
| @@ -375,7 +375,10 @@ void SystemTray::ShowItems(const std::vector<SystemTrayItem*>& items, |
| init_params.arrow_offset = arrow_offset; |
| // For Volume and Brightness we don't want to show an arrow when |
| // they are shown in a bubble by themselves. |
| - init_params.hide_arrow = items.size() == 1 && items[0]->ShouldHideArrow(); |
| + init_params.arrow_paint_type = views::BubbleBorder::PAINT_NORMAL; |
| + if (items.size() == 1 && items[0]->ShouldHideArrow()) { |
|
msw
2013/02/21 07:29:29
nit: remove braces.
dewittj
2013/02/21 19:13:57
Done.
This is my Chromium style weakness. Sorry!
|
| + init_params.arrow_paint_type = views::BubbleBorder::PAINT_TRANSPARENT; |
| + } |
| SystemTrayBubble* bubble = new SystemTrayBubble(this, items, bubble_type); |
| system_bubble_.reset(new internal::SystemBubbleWrapper(bubble)); |
| system_bubble_->InitView(this, tray_container(), &init_params); |