[Nav Experiment] RestoreSession after webUsageEnabled is true.
WKBasedNavigationManager needs to create a web view to restore session. The current order causes an CHECK in CRWWebController that prevents the creation of new web view when |_webUsageEnabled| is false. This fixes failure in NavigationTestCase and crashes observed in the wild. Bug: 852847 Cq-Include-Trybots: luci.chromium.try:ios-simulator-full-configs;master.tryserver.chromium.mac:ios-simulator-cronet Change-Id: Ia6a7800ca6ec985a2080d0e0acc3a743c8c62c5f Reviewed-on: https://chromium-review.googlesource.com/1108575Reviewed-by:Eugene But <eugenebut@chromium.org> Commit-Queue: Danyao Wang <danyao@chromium.org> Cr-Commit-Position: refs/heads/master@{#569259}
Showing
Please register or sign in to comment