| Index: content/browser/loader/resource_dispatcher_host_impl.cc
|
| diff --git a/content/browser/loader/resource_dispatcher_host_impl.cc b/content/browser/loader/resource_dispatcher_host_impl.cc
|
| index c3392079e77a924e4fca903943b8d2c352987236..99dfd0874cda60690f03b67e26a30c7a80c2fe67 100644
|
| --- a/content/browser/loader/resource_dispatcher_host_impl.cc
|
| +++ b/content/browser/loader/resource_dispatcher_host_impl.cc
|
| @@ -1580,7 +1580,8 @@ void ResourceDispatcherHostImpl::BeginRequest(
|
| IsUsingLoFi(request_data.lofi_state, delegate_, *new_request,
|
| resource_context,
|
| request_data.resource_type == RESOURCE_TYPE_MAIN_FRAME),
|
| - support_async_revalidation ? request_data.headers : std::string());
|
| + support_async_revalidation ? request_data.headers : std::string(),
|
| + request_data.request_body);
|
| // Request takes ownership.
|
| extra_info->AssociateWithRequest(new_request.get());
|
|
|
| @@ -1858,8 +1859,8 @@ ResourceRequestInfoImpl* ResourceDispatcherHostImpl::CreateRequestInfo(
|
| 0,
|
| request_id_,
|
| render_frame_route_id,
|
| - false, // is_main_frame
|
| - false, // parent_is_main_frame
|
| + false, // is_main_frame
|
| + false, // parent_is_main_frame
|
| RESOURCE_TYPE_SUB_RESOURCE,
|
| ui::PAGE_TRANSITION_LINK,
|
| false, // should_replace_current_entry
|
| @@ -1877,7 +1878,8 @@ ResourceRequestInfoImpl* ResourceDispatcherHostImpl::CreateRequestInfo(
|
| false, // report_raw_headers
|
| true, // is_async
|
| false, // is_using_lofi
|
| - std::string()); // original_headers
|
| + std::string(), // original_headers
|
| + nullptr); // body
|
| }
|
|
|
| void ResourceDispatcherHostImpl::OnRenderFrameDeleted(
|
| @@ -2306,7 +2308,8 @@ void ResourceDispatcherHostImpl::BeginNavigationRequest(
|
| // here.
|
| // TODO(ricea): Make the feature work with stale-while-revalidate
|
| // and clean this up.
|
| - std::string()); // original_headers
|
| + std::string(), // original_headers
|
| + info.request_body);
|
| // Request takes ownership.
|
| extra_info->AssociateWithRequest(new_request.get());
|
|
|
|
|