Chromium Code Reviews| Index: content/renderer/render_frame_impl.cc |
| diff --git a/content/renderer/render_frame_impl.cc b/content/renderer/render_frame_impl.cc |
| index 2e7d77a987884907027c9592b092779f2be946ff..d64c7ead244f818f749959d47a20d9d43c5389ab 100644 |
| --- a/content/renderer/render_frame_impl.cc |
| +++ b/content/renderer/render_frame_impl.cc |
| @@ -4332,7 +4332,8 @@ WebNavigationPolicy RenderFrameImpl::DecidePolicyForNavigation( |
| // PlzNavigate: send the request to the browser if needed. |
|
clamy
2015/07/03 11:41:44
Could you rephrase the comment to something like "
Fabrice (no longer in Chrome)
2015/07/03 14:55:36
Done.
|
| if (base::CommandLine::ForCurrentProcess()->HasSwitch( |
| switches::kEnableBrowserSideNavigation) && |
| - info.urlRequest.checkForBrowserSideNavigation()) { |
| + info.urlRequest.checkForBrowserSideNavigation() && |
| + CommonNavigationParams::ShouldMakeNetworkRequest(url)) { |
| BeginNavigation(&info.urlRequest); |
| return blink::WebNavigationPolicyIgnore; |
| } |