From 77cf30f75825d58589cfc50d3e5f4d73af5c14bd Mon Sep 17 00:00:00 2001 From: Cheng Zhao Date: Fri, 29 Jan 2016 11:52:31 +0800 Subject: [PATCH] Revert "renderer: dont fork the process when there is server redirect" This reverts commit ab9d1bf97ed2015829bcc5381c149d2826d04015. --- atom/renderer/atom_renderer_client.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/atom/renderer/atom_renderer_client.cc b/atom/renderer/atom_renderer_client.cc index 15165efa330a..3c97db4b9788 100644 --- a/atom/renderer/atom_renderer_client.cc +++ b/atom/renderer/atom_renderer_client.cc @@ -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(