commit | 9a6e239e39794e390d28a047ec7bd6b74c3292d0 | [log] [tgz] |
---|---|---|
author | Kevin McNee <mcnee@chromium.org> | Fri Jul 16 20:03:10 2021 |
committer | Chromium LUCI CQ <chromium-scoped@luci-project-accounts.iam.gserviceaccount.com> | Fri Jul 16 20:03:10 2021 |
tree | 058803553504b2cec83ad1101b6ff9aaa180b333 | |
parent | c78c04435d59ac8e77ae5bc6a2071a7a7cbc5a67 [diff] |
Replace several FrameTreeNode id based lookups with RFH ids These subresource filter and ad metrics callers of UnsafeFindFrameByFrameTreeNodeId can be refactored to not use this method. There are several cases of going from a FTN id to a RenderFrameHost, then back to the FTN id, where the lookup can simply be removed. For cases that do need a RenderFrameHost, the call sites can identify the intended RenderFrameHost more directly using NavigationHandle::GetPreviousRenderFrameHostId. Bug: 843646, 1184484 Change-Id: I28c0476f4961256d9a4db4eb5d55f730d9e676f6 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2736836 Commit-Queue: Kevin McNee <mcnee@chromium.org> Reviewed-by: Josh Karlin <jkarlin@chromium.org> Cr-Commit-Position: refs/heads/master@{#902609}
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.
If you found a bug, please file it at https://crbug.com/new.