diff options
Diffstat (limited to 'content/browser/frame_host/navigator_impl.cc')
-rw-r--r-- | content/browser/frame_host/navigator_impl.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/content/browser/frame_host/navigator_impl.cc b/content/browser/frame_host/navigator_impl.cc index b5d3136..9e01343 100644 --- a/content/browser/frame_host/navigator_impl.cc +++ b/content/browser/frame_host/navigator_impl.cc @@ -673,7 +673,7 @@ void NavigatorImpl::CommitNavigation(FrameTreeNode* frame_tree_node, NavigationRequest* navigation_request = frame_tree_node->navigation_request(); DCHECK(navigation_request); DCHECK(response || - !NavigationRequest::ShouldMakeNetworkRequest( + !ShouldMakeNetworkRequestForURL( navigation_request->common_params().url)); // HTTP 204 (No Content) and HTTP 205 (Reset Content) responses should not @@ -814,7 +814,7 @@ void NavigatorImpl::RequestNavigation( // is synchronous and same-site) then NavigationRequest::BeginNavigation // should be directly called instead. if (should_dispatch_beforeunload && - NavigationRequest::ShouldMakeNetworkRequest( + ShouldMakeNetworkRequestForURL( navigation_request->common_params().url)) { navigation_request->SetWaitingForRendererResponse(); frame_tree_node->current_frame_host()->DispatchBeforeUnload(true); |