| Index: components/cronet/android/url_request_adapter.cc
|
| diff --git a/components/cronet/android/url_request_adapter.cc b/components/cronet/android/url_request_adapter.cc
|
| index 43fb8f416b98e2d85b79c82ffff70d2d1ced11ec..3195c27ebaabe4b4fe1871331755c5d394a5dcc1 100644
|
| --- a/components/cronet/android/url_request_adapter.cc
|
| +++ b/components/cronet/android/url_request_adapter.cc
|
| @@ -86,11 +86,8 @@ void URLRequestAdapter::AppendChunk(const char* bytes, int bytes_len,
|
| memcpy(buf.get(), bytes, bytes_len);
|
| context_->PostTaskToNetworkThread(
|
| FROM_HERE,
|
| - base::Bind(&URLRequestAdapter::OnAppendChunk,
|
| - base::Unretained(this),
|
| - Passed(buf.Pass()),
|
| - bytes_len,
|
| - is_last_chunk));
|
| + base::Bind(&URLRequestAdapter::OnAppendChunk, base::Unretained(this),
|
| + base::Passed(&buf), bytes_len, is_last_chunk));
|
| }
|
|
|
| std::string URLRequestAdapter::GetHeader(const std::string& name) const {
|
|
|