| Index: ios/net/crn_http_protocol_handler.mm
|
| diff --git a/ios/net/crn_http_protocol_handler.mm b/ios/net/crn_http_protocol_handler.mm
|
| index ac23ad6c5cba6e3a152780f26249e498a0a8dfdd..9c65ef66df562a134192f1572e1a4fee82fb99de 100644
|
| --- a/ios/net/crn_http_protocol_handler.mm
|
| +++ b/ios/net/crn_http_protocol_handler.mm
|
| @@ -540,7 +540,7 @@ void HttpProtocolHandlerCore::OnReadCompleted(URLRequest* request,
|
| [data increaseLengthBy:bytes_read];
|
| memcpy(reinterpret_cast<char*>([data mutableBytes]) + data_length,
|
| buffer_->data(), bytes_read);
|
| - request->Read(buffer_.get(), kIOBufferSize, &bytes_read);
|
| + bytes_read = request->Read(buffer_.get(), kIOBufferSize);
|
| }
|
|
|
| if (tracker_)
|
|
|