Merge pull request #4264 from atom/revert-3918

Revert "renderer: dont fork the process when there is server redirect"
This commit is contained in:
Cheng Zhao 2016-01-29 12:17:52 +08:00
commit 367590a32f

View file

@ -173,7 +173,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" && !is_server_redirect;
return http_method == "GET";
}
content::BrowserPluginDelegate* AtomRendererClient::CreateBrowserPluginDelegate(