forked from chromium/chromium
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Rewrite T& into raw_ref<T> under multiple directories [1]
The changes were generated by running tools/clang/rewrite_raw_ref_fields/rewrite-multiple-platforms.sh with tool-arg=--enable_raw_ref_rewrite `raw_ref` is a smart pointer for a pointer which can not be null, and which provides Use-after-Free protection in the same ways as raw_ptr. This class acts like a combination of std::reference_wrapper and raw_ptr. See raw_ptr and //base/memory/raw_ptr.md for more details on the Use-after-Free protection. Bug: 1357022 Change-Id: Ibcd714bd5a8e408aa31f07a04c5fc67f7eff4e3e Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4001524 Owners-Override: danakj <danakj@chromium.org> Reviewed-by: danakj <danakj@chromium.org> Commit-Queue: danakj <danakj@chromium.org> Cr-Commit-Position: refs/heads/main@{#1069181}
- Loading branch information
Ali Hijazi
authored and
Chromium LUCI CQ
committed
Nov 9, 2022
1 parent
0545afa
commit 5517919
Showing
89 changed files
with
584 additions
and
520 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.