Index: content/renderer/render_view_impl.cc |
=================================================================== |
--- content/renderer/render_view_impl.cc (revision 113792) |
+++ content/renderer/render_view_impl.cc (working copy) |
@@ -2074,7 +2074,9 @@ |
// issue a special POST navigation in WebKit (via |
// FrameLoader::loadFrameRequest). See ResourceDispatcher and WebURLLoaderImpl |
// for examples of how to send the httpBody data. |
- if (!frame->parent() && is_content_initiated && |
+ // TODO(mpcomplete): remove is_redirect clause when http://crbug.com/79520 is |
+ // fixed. |
+ if (!frame->parent() && (is_content_initiated || is_redirect) && |
default_policy == WebKit::WebNavigationPolicyCurrentTab && |
request.httpMethod() == "GET" && !url.SchemeIs(chrome::kAboutScheme)) { |
bool send_referrer = false; |