| Index: content/shell/browser/shell.cc
|
| diff --git a/content/shell/browser/shell.cc b/content/shell/browser/shell.cc
|
| index c6cf3527723445d821faaf5d7219d942f6f27210..ecb85f67dad9fe681e41e41d97172bf10bd265c3 100644
|
| --- a/content/shell/browser/shell.cc
|
| +++ b/content/shell/browser/shell.cc
|
| @@ -325,12 +325,9 @@ WebContents* Shell::OpenURLFromTab(WebContents* source,
|
| load_url_params.should_replace_current_entry =
|
| params.should_replace_current_entry;
|
|
|
| - // Only allows the browser-initiated navigation to use POST.
|
| - if (params.uses_post && !params.is_renderer_initiated) {
|
| - load_url_params.load_type =
|
| - NavigationController::LOAD_TYPE_BROWSER_INITIATED_HTTP_POST;
|
| - load_url_params.browser_initiated_post_data =
|
| - params.browser_initiated_post_data;
|
| + if (params.uses_post) {
|
| + load_url_params.load_type = NavigationController::LOAD_TYPE_HTTP_POST;
|
| + load_url_params.post_data = params.post_data;
|
| }
|
|
|
| source->GetController().LoadURLWithParams(load_url_params);
|
|
|