| Index: net/http/bidirectional_stream.h
|
| diff --git a/net/http/bidirectional_stream.h b/net/http/bidirectional_stream.h
|
| index 71e69d7d9e04b76cb4f1bf4d8395aa3eac976e5d..86b3fff2d77180b8bde33c1a2f4df84b7aab47db 100644
|
| --- a/net/http/bidirectional_stream.h
|
| +++ b/net/http/bidirectional_stream.h
|
| @@ -126,10 +126,12 @@ class NET_EXPORT BidirectionalStream
|
| // invoked, and should not be called again until Delegate::OnDataSent is
|
| // invoked. If |end_stream| is true, the DATA frame will have an END_STREAM
|
| // flag.
|
| - void SendData(IOBuffer* data, int length, bool end_stream);
|
| + void SendData(const scoped_refptr<IOBuffer>& data,
|
| + int length,
|
| + bool end_stream);
|
|
|
| // Same as SendData except this takes in a vector of IOBuffers.
|
| - void SendvData(const std::vector<IOBuffer*>& buffers,
|
| + void SendvData(const std::vector<scoped_refptr<IOBuffer>>& buffers,
|
| const std::vector<int>& lengths,
|
| bool end_stream);
|
|
|
|
|