Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Get context from frame_tree_node_id in AdblockCnameResolveHostClient
The ResponseCallback can outlive the BraveRequestInfo context and thus we can't trust it to retrieve the default storage partition. Instead, let's go back to the original code where we would attempt to retrieve the WebContents from the frame_tree_node_id, early returning if that was not possible. Resolves brave/brave-browser#16062
- Loading branch information