Remove GetLayoutSize().
This was only used for the new tab button, but the new tab button now reports the relevant size as its preferred size. So we can use that directly everywhere. This will make it easier to add padding around the new tab button, because the button can report a larger size to other callers without having to keep the layout size in sync with a padding value local to new_tab_button.cc. Bug: none Change-Id: Id513c23ba458857032b05ed8e266387d9e1f1f55 Reviewed-on: https://chromium-review.googlesource.com/1135764 Commit-Queue: Peter Kasting <pkasting@chromium.org> Reviewed-by:Allen Bauer <kylixrd@chromium.org> Cr-Commit-Position: refs/heads/master@{#575050}
Showing
Please register or sign in to comment