| Index: ash/common/system/tray_accessibility.cc
|
| diff --git a/ash/common/system/tray_accessibility.cc b/ash/common/system/tray_accessibility.cc
|
| index 9e1fda577e811a2080b97da2577f6183c38fd425..cb9be562cdf73e4c4ddd59f84c810397fbbca718 100644
|
| --- a/ash/common/system/tray_accessibility.cc
|
| +++ b/ash/common/system/tray_accessibility.cc
|
| @@ -245,10 +245,7 @@ HoverHighlightView* AccessibilityDetailedView::AddScrollListItem(
|
| HoverHighlightView* container = new HoverHighlightView(this);
|
| if (UseMdMenu()) {
|
| gfx::ImageSkia image = CreateVectorIcon(icon, kMenuIconColor);
|
| - const int padding = (kMenuButtonSize - image.width()) / 2;
|
| - container->AddIconAndLabelCustomSize(
|
| - image, text, highlight,
|
| - image.width() + kMenuSeparatorVerticalPadding * 2, padding, padding);
|
| + container->AddIconAndLabel(image, text);
|
| if (checked) {
|
| gfx::ImageSkia check_mark = CreateVectorIcon(
|
| gfx::VectorIconId::CHECK_CIRCLE, gfx::kGoogleGreen700);
|
| @@ -260,8 +257,6 @@ HoverHighlightView* AccessibilityDetailedView::AddScrollListItem(
|
| container->SetAccessiblityState(
|
| HoverHighlightView::AccessibilityState::UNCHECKED_CHECKBOX);
|
| }
|
| - } else {
|
| - container->AddCheckableLabel(text, highlight, checked);
|
| }
|
| scroll_content()->AddChildView(container);
|
| return container;
|
|
|