| Index: net/http/bidirectional_stream.cc
|
| diff --git a/net/http/bidirectional_stream.cc b/net/http/bidirectional_stream.cc
|
| index b49ee58f235ae2bebddef6423aec0920e2ad3761..8b83c1e93515f06efaa4db3b5aaca903b35ec1ca 100644
|
| --- a/net/http/bidirectional_stream.cc
|
| +++ b/net/http/bidirectional_stream.cc
|
| @@ -145,7 +145,7 @@ int BidirectionalStream::ReadData(IOBuffer* buf, int buf_len) {
|
| return rv;
|
| }
|
|
|
| -void BidirectionalStream::SendData(IOBuffer* data,
|
| +void BidirectionalStream::SendData(const scoped_refptr<IOBuffer>& data,
|
| int length,
|
| bool end_stream) {
|
| DCHECK(stream_impl_);
|
| @@ -157,9 +157,10 @@ void BidirectionalStream::SendData(IOBuffer* data,
|
| write_buffer_len_list_.push_back(length);
|
| }
|
|
|
| -void BidirectionalStream::SendvData(const std::vector<IOBuffer*>& buffers,
|
| - const std::vector<int>& lengths,
|
| - bool end_stream) {
|
| +void BidirectionalStream::SendvData(
|
| + const std::vector<scoped_refptr<IOBuffer>>& buffers,
|
| + const std::vector<int>& lengths,
|
| + bool end_stream) {
|
| DCHECK(stream_impl_);
|
| DCHECK_EQ(buffers.size(), lengths.size());
|
| DCHECK(write_buffer_list_.empty());
|
|
|