| Index: content/shell/browser/shell.cc
|
| diff --git a/content/shell/browser/shell.cc b/content/shell/browser/shell.cc
|
| index 12b17d233816b996fa7ad6d6b6fd441af84f378c..94fac065df310446db234657969b22e0107d3379 100644
|
| --- a/content/shell/browser/shell.cc
|
| +++ b/content/shell/browser/shell.cc
|
| @@ -324,12 +324,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);
|
|
|