Index: content/browser/frame_host/navigation_request.cc |
diff --git a/content/browser/frame_host/navigation_request.cc b/content/browser/frame_host/navigation_request.cc |
index 39d1cdda2295ceea1f59a44cc804be47a981b169..7a810cf2880b01ac917cd3bf1352fb867c6c5b6c 100644 |
--- a/content/browser/frame_host/navigation_request.cc |
+++ b/content/browser/frame_host/navigation_request.cc |
@@ -345,7 +345,7 @@ void NavigationRequest::BeginNavigation() { |
RenderFrameDevToolsAgentHost::OnBeforeNavigation(navigation_handle_.get()); |
if (ShouldMakeNetworkRequestForURL(common_params_.url) && |
- !navigation_handle_->IsSamePage()) { |
+ !navigation_handle_->IsSameDocument()) { |
// It's safe to use base::Unretained because this NavigationRequest owns |
// the NavigationHandle where the callback will be stored. |
// TODO(clamy): pass the real value for |is_external_protocol| if needed. |
@@ -753,7 +753,7 @@ void NavigationRequest::OnWillProcessResponseChecksComplete( |
void NavigationRequest::CommitNavigation() { |
DCHECK(response_ || !ShouldMakeNetworkRequestForURL(common_params_.url) || |
- navigation_handle_->IsSamePage()); |
+ navigation_handle_->IsSameDocument()); |
DCHECK(!common_params_.url.SchemeIs(url::kJavaScriptScheme)); |
// Retrieve the RenderFrameHost that needs to commit the navigation. |