Revert "renderer: dont fork the process when there is server redirect"
authorCheng Zhao <zcbenz@gmail.com>
Fri, 29 Jan 2016 03:52:31 +0000 (11:52 +0800)
committerCheng Zhao <zcbenz@gmail.com>
Fri, 29 Jan 2016 03:52:31 +0000 (11:52 +0800)
This reverts commit ab9d1bf97ed2015829bcc5381c149d2826d04015.

atom/renderer/atom_renderer_client.cc

index 15165ef..3c97db4 100644 (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(