Chromium Code Reviews
DescriptionMake ChannelEndpoint::OnReadMessage() take a MessageInTransit instead of a MessageInTransit::View.
It's a bit cleaner, and equally significantly this means that
TransportData::DeserializeDispatchers() no longer gets called under
ChannelEndpoint's lock, which is a bit bad since it may call into
Channel which may theoretically (but not likely) in turn call into
ChannelEndpoint. Admittedly, this could be accomplished without moving
the MessageInTransit::View -> MessageInTransit conversion into Channel.
R=yzshen@chromium.org
Committed: https://chromium.googlesource.com/external/mojo/+/81b582f392619f376c2a397fccf69e0e2a281008
Patch Set 1 #
Messages
Total messages: 4 (0 generated)
|
|||||||||||||||||||||||||||||||||||||