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 918f69fc2a9dab5919d43a87fc2f837b6d003c14..cd0104333542bb72b0e91ff585fa65486a0d2de7 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()); |
} |