Chromium Code Reviews| Index: chrome/browser/ui/views/download/download_shelf_view.cc |
| diff --git a/chrome/browser/ui/views/download/download_shelf_view.cc b/chrome/browser/ui/views/download/download_shelf_view.cc |
| index e474e4c0bc5057d37580f48a5108e06b72034183..f5dc22870c4748d7ca6126975311380827fad816 100644 |
| --- a/chrome/browser/ui/views/download/download_shelf_view.cc |
| +++ b/chrome/browser/ui/views/download/download_shelf_view.cc |
| @@ -392,7 +392,11 @@ void DownloadShelfView::UpdateColorsFromTheme() { |
| set_background(views::Background::CreateSolidBackground( |
| GetThemeProvider()->GetColor(ThemeProperties::COLOR_TOOLBAR))); |
| - if (!ui::MaterialDesignController::IsModeMaterial()) { |
| + if (ui::MaterialDesignController::IsModeMaterial()) { |
| + static_cast<views::LabelButton*>(show_all_view_) |
|
sky
2016/06/23 15:28:00
grumble, static_cast, grumble.
This cast is easy t
Evan Stade
2016/06/23 17:05:49
well hopefully we'll be able to rip out non-md cod
|
| + ->SetEnabledTextColors(GetThemeProvider()->GetColor( |
| + ThemeProperties::COLOR_BOOKMARK_TEXT)); |
| + } else { |
| views::Link* show_all_view = static_cast<views::Link*>(show_all_view_); |
| show_all_view->SetBackgroundColor(background()->get_color()); |
| show_all_view->SetEnabledColor( |