Skip to content

Commit

Permalink
Adjust callers and networking delegates in ios/ to modified APIs
Browse files Browse the repository at this point in the history
Use modified Read and delegate methods from the following CL-
https://codereview.chromium.org/2262653003/

BUG=423484

Committed: https://crrev.com/5af9098dfe78b06569f9007caa84349beca417df
Review-Url: https://codereview.chromium.org/2262063002
Cr-Original-Commit-Position: refs/heads/master@{#416528}
Cr-Commit-Position: refs/heads/master@{#416584}
  • Loading branch information
maksim.sisov authored and Commit bot committed Sep 6, 2016
1 parent f56adb1 commit 40d1bef
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ios/net/crn_http_protocol_handler.mm
Original file line number Diff line number Diff line change
Expand Up @@ -540,7 +540,7 @@ void CompleteAuthentication(bool auth_ok,
[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_)
Expand Down

0 comments on commit 40d1bef

Please sign in to comment.