Index: chrome/browser/ui/views/toolbar/app_menu_button.cc |
diff --git a/chrome/browser/ui/views/toolbar/app_menu_button.cc b/chrome/browser/ui/views/toolbar/app_menu_button.cc |
index a83f91a934d1f4cdd8db3d426f48ea9979b15421..5038889da646439c418d54cbc22976dad86d8c3b 100644 |
--- a/chrome/browser/ui/views/toolbar/app_menu_button.cc |
+++ b/chrome/browser/ui/views/toolbar/app_menu_button.cc |
@@ -140,19 +140,23 @@ void AppMenuButton::ScheduleAppMenuIconPaint() { |
void AppMenuButton::UpdateIcon() { |
DCHECK(ui::MaterialDesignController::IsModeMaterial()); |
SkColor color = gfx::kPlaceholderColor; |
+ const ui::NativeTheme* native_theme = GetNativeTheme(); |
switch (severity_) { |
case AppMenuIconPainter::SEVERITY_NONE: |
color = GetThemeProvider()->GetColor( |
ThemeProperties::COLOR_TOOLBAR_BUTTON_ICON); |
break; |
case AppMenuIconPainter::SEVERITY_LOW: |
- color = gfx::kGoogleGreen700; |
+ color = native_theme->GetSystemColor( |
+ ui::NativeTheme::kColorId_AlertSeverityLow); |
break; |
case AppMenuIconPainter::SEVERITY_MEDIUM: |
- color = gfx::kGoogleYellow700; |
+ color = native_theme->GetSystemColor( |
+ ui::NativeTheme::kColorId_AlertSeverityMedium); |
break; |
case AppMenuIconPainter::SEVERITY_HIGH: |
- color = gfx::kGoogleRed700; |
+ color = native_theme->GetSystemColor( |
+ ui::NativeTheme::kColorId_AlertSeverityHigh); |
break; |
} |