Chromium Code Reviews| Index: content/browser/frame_host/navigation_controller_impl.cc |
| diff --git a/content/browser/frame_host/navigation_controller_impl.cc b/content/browser/frame_host/navigation_controller_impl.cc |
| index c0ddb1b926e0af03b8758c235c8e8a4026164be5..604846485284fde1d6ac8eab36282180a103437e 100644 |
| --- a/content/browser/frame_host/navigation_controller_impl.cc |
| +++ b/content/browser/frame_host/navigation_controller_impl.cc |
| @@ -772,7 +772,7 @@ bool NavigationControllerImpl::PendingEntryMatchesHandle( |
| bool NavigationControllerImpl::RendererDidNavigate( |
| RenderFrameHostImpl* rfh, |
| const FrameHostMsg_DidCommitProvisionalLoad_Params& params, |
| - LoadCommittedDetails* details) { |
| + LoadCommittedDetails* details, bool is_navigation_within_page) { |
|
Charlie Reis
2016/09/27 18:51:43
Style nit: Move to next line.
|
| is_initial_navigation_ = false; |
| // Save the previous state before we clobber it. |
| @@ -799,8 +799,7 @@ bool NavigationControllerImpl::RendererDidNavigate( |
| details->type = ClassifyNavigation(rfh, params); |
| // is_in_page must be computed before the entry gets committed. |
| - details->is_in_page = IsURLInPageNavigation(params.url, params.origin, |
| - params.was_within_same_page, rfh); |
| + details->is_in_page = is_navigation_within_page; |
| switch (details->type) { |
| case NAVIGATION_TYPE_NEW_PAGE: |