| Index: remoting/protocol/util.cc
|
| diff --git a/remoting/protocol/util.cc b/remoting/protocol/util.cc
|
| index 5a23c934bb369d6d7a3b93689ac8d6fd7faa8062..a12040b0346b09d5af94f012aedacf41142ca879 100644
|
| --- a/remoting/protocol/util.cc
|
| +++ b/remoting/protocol/util.cc
|
| @@ -18,7 +18,7 @@ scoped_refptr<net::IOBufferWithSize> SerializeAndFrameMessage(
|
| // int32 of the serialized message size for framing.
|
| const int kExtraBytes = sizeof(int32);
|
| int size = msg.ByteSize() + kExtraBytes;
|
| - scoped_refptr<net::IOBufferWithSize> buffer = new net::IOBufferWithSize(size);
|
| + scoped_refptr<net::IOBufferWithSize> buffer(new net::IOBufferWithSize(size));
|
| talk_base::SetBE32(buffer->data(), msg.GetCachedSize());
|
| msg.SerializeWithCachedSizesToArray(
|
| reinterpret_cast<uint8*>(buffer->data()) + kExtraBytes);
|
|
|