Index: remoting/protocol/channel_multiplexer.cc |
diff --git a/remoting/protocol/channel_multiplexer.cc b/remoting/protocol/channel_multiplexer.cc |
index e14b2b37a152b65c89b8bd41b6e21dacc974d269..6d8a66076822172436e912ce838f13b2caaf443c 100644 |
--- a/remoting/protocol/channel_multiplexer.cc |
+++ b/remoting/protocol/channel_multiplexer.cc |
@@ -352,7 +352,7 @@ void ChannelMultiplexer::MuxSocket::OnWriteFailed() { |
void ChannelMultiplexer::MuxSocket::OnPacketReceived() { |
if (!read_callback_.is_null()) { |
- int result = channel_->DoRead(read_buffer_, read_buffer_size_); |
+ int result = channel_->DoRead(read_buffer_.get(), read_buffer_size_); |
read_buffer_ = NULL; |
DCHECK_GT(result, 0); |
net::CompletionCallback cb; |