commit | 538912813a6ab1309b62295f2b155c1a86c42991 | [log] [tgz] |
---|---|---|
author | Dmitry Gozman <dgozman@chromium.org> | Sat Dec 22 01:22:51 2018 |
committer | Commit Bot <commit-bot@chromium.org> | Sat Dec 22 01:22:51 2018 |
tree | 61f3c2f6698aa9e2e6a29c538fb5ed611a23f618 | |
parent | 2ea3698e58931720975793ca370a29ff6336bb25 [diff] |
Pass WebNavigationInfo to CreatePlaceholderDocumentLoader As a part of removing provisional document loader (see doc linked from the bug, step 6.d), we plan to stop using WebURLLoader for navigation requests. This means there will be no artificial WebURLRequest created for the main resource, DocumentLoader::request_ and WebNavigationParams::request will be gone. This patch removes one more usage of WebNavigationParams::request. CreatePlaceholderDocumentLoader is left with WebURLRequest for now, since it is not on a CommitNavigation path, but instead is called only in response to BeginNavigation, which takes WebNavigationInfo. We can just pass WebNavigationInfo directly to FrameLoader and let it deal with details. Bug: 855189 Change-Id: Ic49c9a5d3d603831dded9efd71fe858c2c088f62 Reviewed-on: https://chromium-review.googlesource.com/c/1387149 Commit-Queue: Dmitry Gozman <dgozman@chromium.org> Reviewed-by: Daniel Cheng <dcheng@chromium.org> Cr-Commit-Position: refs/heads/master@{#618704}
Chromium is an open-source browser project that aims to build a safer, faster, and more stable way for all users to experience the web.
The project's web site is https://www.chromium.org.
Documentation in the source is rooted in docs/README.md.
Learn how to Get Around the Chromium Source Code Directory Structure .