| Index: content/browser/frame_host/navigation_request.cc
 | 
| diff --git a/content/browser/frame_host/navigation_request.cc b/content/browser/frame_host/navigation_request.cc
 | 
| index 3e6f4c3df00cc9ee0305de016fdd67cba26f508a..6b44bf716b91cb93c182cfc05c386ef5e2cb313c 100644
 | 
| --- a/content/browser/frame_host/navigation_request.cc
 | 
| +++ b/content/browser/frame_host/navigation_request.cc
 | 
| @@ -70,8 +70,6 @@ scoped_ptr<NavigationRequest> NavigationRequest::CreateBrowserInitiated(
 | 
|      bool is_same_document_history_load,
 | 
|      const base::TimeTicks& navigation_start,
 | 
|      NavigationControllerImpl* controller) {
 | 
| -  std::string method = entry.GetHasPostData() ? "POST" : "GET";
 | 
| -
 | 
|    // Copy existing headers and add necessary headers that may not be present
 | 
|    // in the RequestNavigationParams.
 | 
|    net::HttpRequestHeaders headers;
 | 
| @@ -95,7 +93,7 @@ scoped_ptr<NavigationRequest> NavigationRequest::CreateBrowserInitiated(
 | 
|        frame_tree_node, entry.ConstructCommonNavigationParams(
 | 
|                             dest_url, dest_referrer, navigation_type,
 | 
|                             LOFI_UNSPECIFIED, navigation_start),
 | 
| -      BeginNavigationParams(method, headers.ToString(),
 | 
| +      BeginNavigationParams(headers.ToString(),
 | 
|                              LoadFlagFromNavigationType(navigation_type),
 | 
|                              false,  // has_user_gestures
 | 
|                              false,  // skip_service_worker
 | 
| @@ -210,7 +208,7 @@ void NavigationRequest::BeginNavigation() {
 | 
|      // the NavigationHandle where the callback will be stored.
 | 
|      // TODO(clamy): pass the real value for |is_external_protocol| if needed.
 | 
|      navigation_handle_->WillStartRequest(
 | 
| -        begin_params_.method == "POST",
 | 
| +        common_params_.is_post,
 | 
|          Referrer::SanitizeForRequest(common_params_.url,
 | 
|                                       common_params_.referrer),
 | 
|          begin_params_.has_user_gesture, common_params_.transition, false,
 | 
| @@ -245,7 +243,7 @@ void NavigationRequest::OnRequestRedirected(
 | 
|      const net::RedirectInfo& redirect_info,
 | 
|      const scoped_refptr<ResourceResponse>& response) {
 | 
|    common_params_.url = redirect_info.new_url;
 | 
| -  begin_params_.method = redirect_info.new_method;
 | 
| +  common_params_.is_post = redirect_info.new_method == "POST";
 | 
|    common_params_.referrer.url = GURL(redirect_info.new_referrer);
 | 
|  
 | 
|    // TODO(clamy): Have CSP + security upgrade checks here.
 | 
| @@ -255,8 +253,8 @@ void NavigationRequest::OnRequestRedirected(
 | 
|    // NavigationHandle where the callback will be stored.
 | 
|    // TODO(clamy): pass the real value for |is_external_protocol| if needed.
 | 
|    navigation_handle_->WillRedirectRequest(
 | 
| -      common_params_.url, begin_params_.method == "POST",
 | 
| -      common_params_.referrer.url, false, response->head.headers,
 | 
| +      common_params_.url, common_params_.is_post, common_params_.referrer.url,
 | 
| +      false, response->head.headers,
 | 
|        base::Bind(&NavigationRequest::OnRedirectChecksComplete,
 | 
|                   base::Unretained(this)));
 | 
|  }
 | 
| 
 |