-
Wez authored
ipc::ChannelMojo calls GetWeakPtr() to bind WeakPtrs into helpers returned by CreateThreadSafeChannel(), and in OnPipeError(). Since these calls can be made concurrently from different threads, they should create a WeakPtr at initialization to use in those calls. Bug: Change-Id: I8a86c4e7241314b3aa23dba9915c14d1cb078d31 Reviewed-on: https://chromium-review.googlesource.com/742498 Reviewed-by: Ken Rockot <rockot@chromium.org> Commit-Queue: Wez <wez@chromium.org> Cr-Commit-Position: refs/heads/master@{#512513}
888ef82f