Use FillNavigateParamsFromOpenURLParams from more places.
This CL coverts two places that used to manually populate NavigateParams from OpenURLParams, to instead rely on FillNavigateParamsFromOpenURLParams (which correctly propagates all relevant pieces of data from OpenURLParams, unlike the old, manual propagation which would only copy a handful of properties). This CL also augments FillNavigateParamsFromOpenURLParams to cover 2 additional fields of NavigateParams: initiating_profile and source_contents. Bug: 1007041 Change-Id: I4b30d18699ce41bc188801ea80aeff549b26f573 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1854209 Commit-Queue: Łukasz Anforowicz <lukasza@chromium.org> Reviewed-by:Peter Kasting <pkasting@chromium.org> Reviewed-by:
Alex Moshchuk <alexmos@chromium.org> Cr-Commit-Position: refs/heads/master@{#705356}
Showing
Please register or sign in to comment