Keishi Hattori would like Tim to review this change.
Convert RAW_PTR_EXCLUSION to raw_ptr<T, kUnprotectedInRelease> in extensions/browser
This replaces RAW_PTR_EXCLUSION with raw_ptr<T, kUnprotectedInRelease> in
extensions/browser to provide better safety in certain builds while avoiding
performance overhead in release builds.
This CL was uploaded by git cl split.
This CL was uploaded by git cl split.
R=tjud...@chromium.org
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
| Auto-Submit | +1 |
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
Thanks Keishi, just one question around if the performance statements of the comments being changed with this still hold true with the change.
This replaces RAW_PTR_EXCLUSION with raw_ptr<T, kUnprotectedInRelease> in
extensions/browser to provide better safety in certain builds while avoiding
performance overhead in release builds.
nit: Line wrapping.
// `render_process_host` uses kUnprotectedInRelease for performance reasons
// (based on analysis of sampling profiler data).Just to double check, using `raw_ptr<T, kUnprotectedInRelease>` still results in the performance protections this was getting previously by not using raw_ptr, right?
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
| Auto-Submit | +1 |
This replaces RAW_PTR_EXCLUSION with raw_ptr<T, kUnprotectedInRelease> in
extensions/browser to provide better safety in certain builds while avoiding
performance overhead in release builds.
Keishi Hattorinit: Line wrapping.
Done
// `render_process_host` uses kUnprotectedInRelease for performance reasons
// (based on analysis of sampling profiler data).Just to double check, using `raw_ptr<T, kUnprotectedInRelease>` still results in the performance protections this was getting previously by not using raw_ptr, right?
Right, on release builds this will use RawPtrNoopImpl and the performance will be the same as a raw pointer.
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
| Code-Review | +1 |
| Commit-Queue | +2 |
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
Convert RAW_PTR_EXCLUSION to raw_ptr<T, kUnprotectedInRelease> in extensions/browser
This replaces RAW_PTR_EXCLUSION with raw_ptr<T, kUnprotectedInRelease>
in extensions/browser to provide better safety in certain builds while
avoiding performance overhead in release builds.
This CL was uploaded by git cl split.
R=tjud...@chromium.org
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |