commit | 111cdbb5ef8c56fc8add40ad3cb805e32051b066 | [log] [tgz] |
---|---|---|
author | Jeremy Roman <[email protected]> | Thu Jun 10 19:42:52 2021 |
committer | Chromium LUCI CQ <[email protected]> | Thu Jun 10 19:42:52 2021 |
tree | 75db852247911a3372dc3372c455264202e14983 | |
parent | 66a7f05cd33d235e021e4655cfaba5e38e12dcc9 [diff] |
Use WebContents::Getter instead of RVH routing ID in external protocol handler. The caller has a getter that looks it up by the FrameTreeNode ID. The RenderViewHost process and routing ID can change on navigation (if the navigation ends up changing the renderer hosting the main frame). This is more concise and consistent and, additionally, removes WebContents::GetRenderViewHost calls which are potentially problematic for MPArch (supporting bfcache, prerendering and portals evolution). Change-Id: I6903dd8eff46ee50a476cfda41e33af1bf9baeee Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2416811 Auto-Submit: Jeremy Roman <[email protected]> Commit-Queue: Bo <[email protected]> Reviewed-by: Bo <[email protected]> Reviewed-by: Ben Wells <[email protected]> Reviewed-by: John Abd-El-Malek <[email protected]> Cr-Commit-Position: refs/heads/master@{#891349}
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.
To check out the source code locally, don't use git clone
! Instead, follow the instructions on how to get the code.
Documentation in the source is rooted in docs/README.md.
Learn how to Get Around the Chromium Source Code Directory Structure .
For historical reasons, there are some small top level directories. Now the guidance is that new top level directories are for product (e.g. Chrome, Android WebView, Ash). Even if these products have multiple executables, the code should be in subdirectories of the product.