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 ef1f3c1d3efcfcd2ed631aa72c053b6fa2955aaa..be8583b2918ee5cf62273fed3fa6468791169ba9 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) |