Revert "renderer: dont fork the process when there is server redirect"

This reverts commit ab9d1bf97e.
This commit is contained in:
Cheng Zhao 2016-01-29 11:52:31 +08:00
parent 0fe829cff7
commit 77cf30f758

View file

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