Merge pull request #3918 from deepak1556/renderer_process_fork_patch

renderer: dont fork the process when there is server redirect
This commit is contained in:
Cheng Zhao 2015-12-25 13:43:34 +08:00
commit fb032b03b0

View file

@ -194,7 +194,7 @@ bool AtomRendererClient::ShouldFork(blink::WebLocalFrame* frame,
// the OpenURLFromTab is triggered, which means form posting would not work,
// we should solve this by patching Chromium in future.
*send_referrer = true;
return http_method == "GET";
return http_method == "GET" && !is_server_redirect;
}
content::BrowserPluginDelegate* AtomRendererClient::CreateBrowserPluginDelegate(