Index: content/browser/renderer_host/resource_dispatcher_host.cc |
diff --git a/content/browser/renderer_host/resource_dispatcher_host.cc b/content/browser/renderer_host/resource_dispatcher_host.cc |
index c253224875761ee3ed365adab35128d6747a91ef..5b434874e0d006ee16b30be46a7efb63f4b45ba6 100644 |
--- a/content/browser/renderer_host/resource_dispatcher_host.cc |
+++ b/content/browser/renderer_host/resource_dispatcher_host.cc |
@@ -647,7 +647,7 @@ void ResourceDispatcherHost::BeginRequest( |
if (request_data.upload_data) { |
request->set_upload(request_data.upload_data); |
// This results in performing file IO. crbug.com/112607. |
- upload_size = request_data.upload_data->GetContentLength(); |
+ upload_size = request_data.upload_data->GetContentLengthSyncHack(); |
} |
// Install a CrossSiteResourceHandler if this request is coming from a |