| Index: ipc/attachment_broker_privileged.cc
|
| diff --git a/ipc/attachment_broker_privileged.cc b/ipc/attachment_broker_privileged.cc
|
| index 7631001e5413cecebdbc40b12cbfa3b600c18c6c..a6de9e6064265e2d057ae47c6e1988e193be4492 100644
|
| --- a/ipc/attachment_broker_privileged.cc
|
| +++ b/ipc/attachment_broker_privileged.cc
|
| @@ -103,7 +103,7 @@ void AttachmentBrokerPrivileged::DeregisterCommunicationChannel(
|
| }
|
|
|
| Sender* AttachmentBrokerPrivileged::GetSenderWithProcessId(base::ProcessId id) {
|
| - base::AutoLock auto_lock(*get_lock());
|
| + get_lock()->AssertAcquired();
|
| auto it = std::find_if(endpoints_.begin(), endpoints_.end(),
|
| [id](Endpoint* c) { return c->GetPeerPID() == id; });
|
| if (it == endpoints_.end())
|
|
|