Protect RefCount manipulation of InterfaceEndpoint with MultiplexRouter lock
mojo::internal::InterfaceEndpoint has non-thread-safe ref count.
Most of the ref count manipulations are protected by MultiplexRouter::lock_,
but one in InterfaceEndpoint::OnHandleReady is not protected. That may cause
data race on the ref count.
Review-Url: https://codereview.chromium.org/2684213002
Cr-Commit-Position: refs/heads/master@{#449470}
CrOS-Libchrome-Original-Commit: 47ee91d0dc7bfc1afed32d6ce1d7c5311859d1d2
1 file changed