Index: remoting/protocol/fake_session.cc |
diff --git a/remoting/protocol/fake_session.cc b/remoting/protocol/fake_session.cc |
index 53f0cd0f1523798d7a346ad453ab2aae1d9577c8..d681e1801eb41f7ba15f64d6a2d687119c7e1f20 100644 |
--- a/remoting/protocol/fake_session.cc |
+++ b/remoting/protocol/fake_session.cc |
@@ -119,7 +119,7 @@ void FakeSocket::DoAsyncWrite(scoped_refptr<net::IOBuffer> buf, int buf_len, |
return; |
} |
- DoWrite(buf, buf_len); |
+ DoWrite(buf.get(), buf_len); |
callback.Run(buf_len); |
} |