| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
| Code-Review | +1 |
[[maybe_unused]] RAW_PTR_EXCLUSION PendingTask& pending_task_;Should this be a `raw_ref<PendingTask, kUnprotectedInRelease>`?
Perhaps update the comment as well?
// RAW_PTR_EXCLUSION: TaskQueueImpl is in the raw_ptr-unsupported types list
// (perf-sensitive; see raw_ptr.h). Performance reasons (speedometer3).
RAW_PTR_EXCLUSION TaskQueueImpl* const task_queue_ = nullptr; // NOT OWNED.This is not switched because it is perf-sensitive? Even in debug? Might want to make the comment even clearer that this was excluded. Or should this also be kUnprotectedInRelease?
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
| Code-Review | +1 |
[[maybe_unused]] RAW_PTR_EXCLUSION PendingTask& pending_task_;Should this be a `raw_ref<PendingTask, kUnprotectedInRelease>`?
Perhaps update the comment as well?
Acknowledged
// RAW_PTR_EXCLUSION: TaskQueueImpl is in the raw_ptr-unsupported types list
// (perf-sensitive; see raw_ptr.h). Performance reasons (speedometer3).
RAW_PTR_EXCLUSION TaskQueueImpl* const task_queue_ = nullptr; // NOT OWNED.This is not switched because it is perf-sensitive? Even in debug? Might want to make the comment even clearer that this was excluded. Or should this also be kUnprotectedInRelease?
I don't think I understand this comment (it likely is fine and just my knowledge gap), what does "it is excluded globally" mean? the bug crbug.com/335556942, doesn't say anything explicit here about this one so I wasn't able to read up.
Is it such that `raw_ptr_traits::IsSupportedType<TaskQueueImpl>::value == false`?
Ah I see it is listed [here](https://source.chromium.org/chromium/chromium/src/+/main:base/allocator/partition_allocator/src/partition_alloc/pointers/raw_ptr.h;l=233;drc=6ce6f0f91493b5c3a3ce713a2ef454db5deb45a3), is this what you mean by "is excluded globally"?
Why do we just not remove it from that list and leave it as kUnprotectedInRelease? Is it too costly? Why not a regular RAW_PTR_EXCLUSION?
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
PTAL
[[maybe_unused]] RAW_PTR_EXCLUSION PendingTask& pending_task_;Should this be a `raw_ref<PendingTask, kUnprotectedInRelease>`?
Perhaps update the comment as well?
Done
// RAW_PTR_EXCLUSION: TaskQueueImpl is in the raw_ptr-unsupported types list
// (perf-sensitive; see raw_ptr.h). Performance reasons (speedometer3).
RAW_PTR_EXCLUSION TaskQueueImpl* const task_queue_ = nullptr; // NOT OWNED.This is not switched because it is perf-sensitive? Even in debug? Might want to make the comment even clearer that this was excluded. Or should this also be kUnprotectedInRelease?
TaskQUeueImpl was excluded as a type by IsSupportedType in raw_ptr.h. I think it is because it was used in Bind. I will need to get to this in a follow up.
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
| Code-Review | +1 |
// RAW_PTR_EXCLUSION: TaskQueueImpl is in the raw_ptr-unsupported types list
// (perf-sensitive; see raw_ptr.h). Performance reasons (speedometer3).
RAW_PTR_EXCLUSION TaskQueueImpl* const task_queue_ = nullptr; // NOT OWNED.Keishi HattoriThis is not switched because it is perf-sensitive? Even in debug? Might want to make the comment even clearer that this was excluded. Or should this also be kUnprotectedInRelease?
TaskQUeueImpl was excluded as a type by IsSupportedType in raw_ptr.h. I think it is because it was used in Bind. I will need to get to this in a follow up.
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |