[Cleanup] Use in-class member initialization for NavigateParams
NavigateParams has a number of different constructors and many different variables. Having each constructor define the value for the member in the initializer list makes it hard to see what's changing between the constructors. Instead, use in-class member initialization for the default values to make a) defaults clear and b) deviation from these defaults clear. Bonus: -80 LOC. Bug: None Change-Id: I26ecc6e1b27989017dba154e1e012cdab541a58a Reviewed-on: https://chromium-review.googlesource.com/775079Reviewed-by:Lei Zhang <thestig@chromium.org> Commit-Queue: Devlin <rdevlin.cronin@chromium.org> Cr-Commit-Position: refs/heads/master@{#517680}
Showing
Please register or sign in to comment