Refactor LayoutMenuList::AdjustInnerStyle()
* Add |parent_style| argument This makes a later patch smaller * Do not check text direction repeatedly * Do not call LayoutTheme::GetTheme() repeatedly This CL has no behavior changes. Bug: 1040828 Change-Id: Id5ece1da90dc5ae9500247c212ad9adc230b00da Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2029527 Commit-Queue: Koji Ishii <kojii@chromium.org> Reviewed-by:Koji Ishii <kojii@chromium.org> Cr-Commit-Position: refs/heads/master@{#736693}
Showing
Please register or sign in to comment