ipc: Slight change to GetSenderWithProcessId().
Previously, the implementation of the method acquired a lock. This means that
the caller could not guarantee that the returned Sender was still valid. I
changed the method to require that the caller acquire the lock, so that the
caller can guarantee the validity of the returned Sender.
BUG=561734
Review URL: https://codereview.chromium.org/1484763003
Cr-Commit-Position: refs/heads/master@{#362223}
CrOS-Libchrome-Original-Commit: 63c0fa2af4cf0072c04d5cdc6dedd59870cfbb42
2 files changed