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 a6b00f7722a12ba3b49f42101be51d1ede0102ba..1af57c7c140fe84d2354331e736ab50b2f420236 100644 |
--- a/content/browser/frame_host/navigator_impl.cc |
+++ b/content/browser/frame_host/navigator_impl.cc |
@@ -447,7 +447,9 @@ void NavigatorImpl::DidNavigate( |
} |
// Run tasks that must execute just before the commit. |
- delegate_->DidNavigateMainFramePreCommit(params); |
+ bool is_navigation_within_page = controller_->IsURLInPageNavigation( |
+ params.url, params.was_within_same_page, render_frame_host); |
+ delegate_->DidNavigateMainFramePreCommit(is_navigation_within_page); |
} |
if (!use_site_per_process) |