| Index: ui/views/controls/menu/menu_item_view.cc
|
| diff --git a/ui/views/controls/menu/menu_item_view.cc b/ui/views/controls/menu/menu_item_view.cc
|
| index 15ae4b80256476c2a32695a39ca8f6e44ef29ba4..73fc3039650a4d38bd2908439eb40707aa0585c9 100644
|
| --- a/ui/views/controls/menu/menu_item_view.cc
|
| +++ b/ui/views/controls/menu/menu_item_view.cc
|
| @@ -783,12 +783,11 @@ void MenuItemView::PaintButton(gfx::Canvas* canvas, PaintButtonMode mode) {
|
| ui::NativeTheme::kColorId_SelectedMenuItemForegroundColor:
|
| ui::NativeTheme::kColorId_EnabledMenuItemForegroundColor;
|
| } else {
|
| - bool emphasized = delegate &&
|
| - delegate->GetShouldUseDisabledEmphasizedForegroundColor(
|
| - GetCommand());
|
| - color_id = emphasized ?
|
| - ui::NativeTheme::kColorId_DisabledEmphasizedMenuItemForegroundColor :
|
| - ui::NativeTheme::kColorId_DisabledMenuItemForegroundColor;
|
| + bool emphasized =
|
| + delegate && delegate->GetShouldUseNormalForegroundColor(GetCommand());
|
| + color_id = emphasized
|
| + ? ui::NativeTheme::kColorId_EnabledMenuItemForegroundColor
|
| + : ui::NativeTheme::kColorId_DisabledMenuItemForegroundColor;
|
| }
|
| SkColor fg_color = native_theme->GetSystemColor(color_id);
|
| SkColor override_foreground_color;
|
|
|