| Index: ui/base/native_theme/native_theme_aura.cc
|
| diff --git a/ui/base/native_theme/native_theme_aura.cc b/ui/base/native_theme/native_theme_aura.cc
|
| index 40c2d5f8a9014caa4b310799007f63d53f358383..cb689415fe34d705905023fb062f7077e25685c6 100644
|
| --- a/ui/base/native_theme/native_theme_aura.cc
|
| +++ b/ui/base/native_theme/native_theme_aura.cc
|
| @@ -12,6 +12,7 @@
|
| #include "ui/gfx/rect.h"
|
| #include "ui/gfx/size.h"
|
| #include "ui/gfx/skbitmap_operations.h"
|
| +#include "ui/views/controls/menu/menu_config.h"
|
|
|
| namespace {
|
|
|
| @@ -107,7 +108,7 @@ SkColor NativeThemeAura::GetSystemColor(ColorId color_id) const {
|
| case kColorId_FocusedMenuItemBackgroundColor:
|
| return kFocusedMenuItemBackgroundColor;
|
| case kColorId_MenuSeparatorColor:
|
| - return ui::GetDisplayLayout() == ui::LAYOUT_TOUCH ?
|
| + return views::MenuConfig::IsNewMenu() ?
|
| kMenuSeparatorColorTouch : kMenuSeparatorColor;
|
|
|
| // Label
|
|
|