commit | c70aec1f608aadaa811472adc93460316b60a81d | [log] [tgz] |
---|---|---|
author | danakj <[email protected]> | Thu Jul 07 15:48:19 2022 |
committer | Chromium LUCI CQ <[email protected]> | Thu Jul 07 15:48:19 2022 |
tree | 3883d0d629f3ca77a8b31d361507636517698d21 | |
parent | 7fc7b1beb91d1c5dbb6b017e02553d898d504e83 [diff] |
Replace raw_ptr with raw_ref in DocumentService This also changes the subclasses of DocumentService to work with references to RenderFrameHost, since DocumentService no longer vends a pointer. While doing so, any public constructor or destructor in a DocumentService subclass was made private. CreateForTesting() was added where needed. CHECK() is added if not present (or converted from DCHECK()) when turning RenderFrameHost* into RenderFrameHost&. There are, of course, more pointers that could become references, but this CL has to stop somewhere. [email protected] Bug: 1339061, 1252046 Change-Id: I00033bcbabd9c4d268b0f5745b12031928dbf914 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3721411 Owners-Override: Alexander Timin <[email protected]> Reviewed-by: Daniel Cheng <[email protected]> Reviewed-by: Alexander Timin <[email protected]> Commit-Queue: Alexander Timin <[email protected]> Auto-Submit: danakj <[email protected]> Cr-Commit-Position: refs/heads/main@{#1021695}
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.