Index: chrome/browser/ui/views/profile_chooser_view.cc |
diff --git a/chrome/browser/ui/views/profile_chooser_view.cc b/chrome/browser/ui/views/profile_chooser_view.cc |
index 4ed1b0f23dbfa0718aa2ff59cf3bb38a3956a43a..efdd4b881d943042ce3be97e0dd4c70d64c6e84e 100644 |
--- a/chrome/browser/ui/views/profile_chooser_view.cc |
+++ b/chrome/browser/ui/views/profile_chooser_view.cc |
@@ -124,8 +124,10 @@ BackgroundColorHoverButton::BackgroundColorHoverButton( |
BackgroundColorHoverButton::~BackgroundColorHoverButton() {} |
void BackgroundColorHoverButton::OnPaint(gfx::Canvas* canvas) { |
- if ((state() == STATE_PRESSED) || (state() == STATE_HOVERED) || HasFocus()) |
- canvas->DrawColor(ui::NativeTheme::kColorId_FocusedMenuItemBackgroundColor); |
+ if ((state() == STATE_PRESSED) || (state() == STATE_HOVERED) || HasFocus()) { |
+ canvas->DrawColor(GetNativeTheme()->GetSystemColor( |
+ ui::NativeTheme::kColorId_FocusedMenuItemBackgroundColor)); |
+ } |
LabelButton::OnPaint(canvas); |
} |