Factor out methods for getting the preferred/current size of a view.
This makes InitializeChildData() easier to understand, allows a tiny bit of code reuse, and will make future changes to both these functions and their callers simpler. Bug: none Change-Id: If19e736dbdc00d252c6043d6cf499cffd5d33386 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2026352 Commit-Queue: Dana Fried <dfried@chromium.org> Reviewed-by:Dana Fried <dfried@chromium.org> Auto-Submit: Peter Kasting <pkasting@chromium.org> Cr-Commit-Position: refs/heads/master@{#736275}
Showing
Please register or sign in to comment