Index: content/browser/frame_host/navigator_impl.cc |
diff --git a/content/browser/frame_host/navigator_impl.cc b/content/browser/frame_host/navigator_impl.cc |
index b5d31369efca8643be54f111442b1b4e374f9069..bb205b0e7dd6f35dd3842cabb3b8c6bada7d0eb5 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( |
+ !CommonNavigationParams::ShouldMakeNetworkRequest( |
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( |
+ CommonNavigationParams::ShouldMakeNetworkRequest( |
navigation_request->common_params().url)) { |
navigation_request->SetWaitingForRendererResponse(); |
frame_tree_node->current_frame_host()->DispatchBeforeUnload(true); |