Convert KeyboardShortcutItemView to use StyledLabel::GetLayoutSizesForWidth().
No functional change, but simplifies the code, and is a necessary precursor for fixing bug 1015717. Bug: 1015717 Change-Id: I0f5212ce85841540a2ca85b8c73d8a1149576240 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1884814 Commit-Queue: Peter Kasting <pkasting@chromium.org> Reviewed-by:Tao Wu <wutao@chromium.org> Cr-Commit-Position: refs/heads/master@{#711558}
Showing
Please register or sign in to comment