Chromium Code Reviews| Index: ash/system/tray/tray_views.cc |
| diff --git a/ash/system/tray/tray_views.cc b/ash/system/tray/tray_views.cc |
| index 818df98cc17dc4ecd74e917757d1da1ad3af8f23..0e99b15fd1257f203c6754cfeae0fa6837cb79b1 100644 |
| --- a/ash/system/tray/tray_views.cc |
| +++ b/ash/system/tray/tray_views.cc |
| @@ -424,10 +424,12 @@ void TrayPopupHeaderButton::StateChanged() { |
| SpecialPopupRow::SpecialPopupRow() |
| : content_(NULL), |
| button_container_(NULL) { |
| - set_background(views::Background::CreateBackgroundPainter(true, |
| - views::Painter::CreateVerticalGradient( |
| + views::Background* background = views::Background::CreateBackgroundPainter( |
| + true, views::Painter::CreateVerticalGradient( |
| kHeaderBackgroundColorLight, |
| - kHeaderBackgroundColorDark))); |
| + kHeaderBackgroundColorDark)); |
|
jennyz
2012/06/15 17:51:39
line 429 -430: Should have 2 more leading space fo
sadrul
2012/06/15 17:56:22
Done.
|
| + background->SetNativeControlColor(kHeaderBackgroundColorDark); |
| + set_background(background); |
| set_border(new SpecialPopupRowBorder); |
| SetLayoutManager( |
| new views::BoxLayout(views::BoxLayout::kHorizontal, 0, 0, 0)); |