| Index: ui/views/controls/menu/menu_config.cc
|
| diff --git a/ui/views/controls/menu/menu_config.cc b/ui/views/controls/menu/menu_config.cc
|
| index 089d666eb6e97f36f7d12e850ae385ce28ed099d..9eaba83f6db9d81b5077c5aca3f5a760f32dcaf0 100644
|
| --- a/ui/views/controls/menu/menu_config.cc
|
| +++ b/ui/views/controls/menu/menu_config.cc
|
| @@ -5,8 +5,6 @@
|
| #include "ui/views/controls/menu/menu_config.h"
|
|
|
| #include "build/build_config.h"
|
| -#include "ui/base/layout.h"
|
| -#include "ui/native_theme/native_theme.h"
|
|
|
| namespace views {
|
|
|
| @@ -45,12 +43,6 @@ MenuConfig::MenuConfig(const ui::NativeTheme* theme)
|
| native_theme(theme),
|
| show_delay(400),
|
| corner_radius(0) {
|
| - // Use 40px tall menu items when running in touch optimized mode.
|
| - // For Windows use 40px tall menu items when running in touch optimized mode.
|
| - if (ui::GetDisplayLayout() == ui::LAYOUT_TOUCH) {
|
| - item_top_margin = item_no_icon_top_margin = 12;
|
| - item_bottom_margin = item_no_icon_bottom_margin = 13;
|
| - }
|
| Init(theme);
|
| }
|
|
|
|
|