Fix icon size for Sharing context menu entries
Before crrev.com/c/2232978 the icon size was hardcoded in MenuItemView, but that CL changed it to respect the incoming vector icon size. We can't modify the vector source so we need to set a size when using it. This also cleans up the duplicated *WithIcon methods and unifies them to a single one taking a ui::ImageModel instead. Bug: 1109643 Change-Id: Ib78f683ffee672668c79397122a0e3f5725f58f4 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2369181Reviewed-by:Avi Drissman <avi@chromium.org> Reviewed-by:
Peter Kasting <pkasting@chromium.org> Commit-Queue: Richard Knoll <knollr@chromium.org> Cr-Commit-Position: refs/heads/master@{#801441}
Showing
Please register or sign in to comment