| Index: content/child/web_url_loader_impl.cc
|
| diff --git a/content/child/web_url_loader_impl.cc b/content/child/web_url_loader_impl.cc
|
| index ec4bdc0f6b1fa0974092e30a64316fec96bb5610..949722f3aee75c69d7405ffa02fbd024831f0aa9 100644
|
| --- a/content/child/web_url_loader_impl.cc
|
| +++ b/content/child/web_url_loader_impl.cc
|
| @@ -1134,7 +1134,8 @@ void WebURLLoaderImpl::PopulateURLRequestForRedirect(
|
| void WebURLLoaderImpl::loadSynchronously(const WebURLRequest& request,
|
| WebURLResponse& response,
|
| WebURLError& error,
|
| - WebData& data) {
|
| + WebData& data,
|
| + int64_t& encoded_data_length) {
|
| TRACE_EVENT0("loading", "WebURLLoaderImpl::loadSynchronously");
|
| SyncLoadResponse sync_load_response;
|
| context_->Start(request, &sync_load_response);
|
| @@ -1156,6 +1157,7 @@ void WebURLLoaderImpl::loadSynchronously(const WebURLRequest& request,
|
| request.reportRawHeaders());
|
| response.addToEncodedBodyLength(sync_load_response.encoded_body_length);
|
| response.addToDecodedBodyLength(sync_load_response.data.size());
|
| + encoded_data_length = sync_load_response.encoded_data_length;
|
|
|
| data.assign(sync_load_response.data.data(), sync_load_response.data.size());
|
| }
|
|
|