Pass the webstate to be replaced to the pre-render service
There is only 1 pre-render service per BrowserState which makes the last created BVC the delegate for the the pre-render service so when there are multiple windows, the last one created will provide the webState to be replaced to the service and the service will use that to get the navigation history which will be wrong in cases where the prerendered webstate is not on the last created window. As a work around pass the webstate to be replaced to the service Bug: 1139286 Change-Id: I5a8651ba1c52ecf9e0a9d2ea0a3a18c1e0afdfc5 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2486961Reviewed-by:Mark Cogan <marq@chromium.org> Commit-Queue: Mohammad Refaat <mrefaat@chromium.org> Cr-Commit-Position: refs/heads/master@{#820297}
Showing
Please register or sign in to comment