Skip to content

Commit

Permalink
[CodeHealth] Remove RAW_PTR_EXCLUSION from IPCSyncChannelTest
Browse files Browse the repository at this point in the history
Bug: 346694650, 346694817, 346695325, 346694878
Change-Id: Ic57c926a0dd39842845c2641994ef2acd3a71d67
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5641274
Reviewed-by: Ken Rockot <[email protected]>
Commit-Queue: Alex Yang <[email protected]>
Cr-Commit-Position: refs/heads/main@{#1316760}
  • Loading branch information
Alex Yang authored and Chromium LUCI CQ committed Jun 18, 2024
1 parent 56a4b1c commit 6534102
Showing 1 changed file with 4 additions and 6 deletions.
10 changes: 4 additions & 6 deletions ipc/ipc_sync_channel_unittest.cc
Original file line number Diff line number Diff line change
Expand Up @@ -696,9 +696,8 @@ class MultipleClient1 : public Worker {
}

private:
// This field is not a raw_ptr<> because it was filtered by the rewriter for:
// #overlapping
RAW_PTR_EXCLUSION WaitableEvent *client1_msg_received_, *client1_can_reply_;
raw_ptr<WaitableEvent> client1_msg_received_;
raw_ptr<WaitableEvent> client1_can_reply_;
};

class MultipleServer2 : public Worker {
Expand Down Expand Up @@ -729,9 +728,8 @@ class MultipleClient2 : public Worker {
}

private:
// This field is not a raw_ptr<> because it was filtered by the rewriter for:
// #overlapping
RAW_PTR_EXCLUSION WaitableEvent *client1_msg_received_, *client1_can_reply_;
raw_ptr<WaitableEvent> client1_msg_received_;
raw_ptr<WaitableEvent> client1_can_reply_;
};

void Multiple() {
Expand Down

0 comments on commit 6534102

Please sign in to comment.