| Index: net/quic/quic_connection_helper.cc
|
| diff --git a/net/quic/quic_connection_helper.cc b/net/quic/quic_connection_helper.cc
|
| index ec2866ee1168018212bb507e0ecc732aa2d53b0c..a44f60d469ea3541492b1fd6f9007968339b32c9 100644
|
| --- a/net/quic/quic_connection_helper.cc
|
| +++ b/net/quic/quic_connection_helper.cc
|
| @@ -58,7 +58,8 @@ int QuicConnectionHelper::WritePacketToWire(
|
| scoped_refptr<StringIOBuffer> buf(
|
| new StringIOBuffer(std::string(packet.data(),
|
| packet.length())));
|
| - int rv = socket_->Write(buf, packet.length(),
|
| + int rv = socket_->Write(buf.get(),
|
| + packet.length(),
|
| base::Bind(&QuicConnectionHelper::OnWriteComplete,
|
| weak_factory_.GetWeakPtr()));
|
| if (rv >= 0) {
|
|
|