Index: content/browser/presentation/presentation_service_impl.cc |
diff --git a/content/browser/presentation/presentation_service_impl.cc b/content/browser/presentation/presentation_service_impl.cc |
index 9f2e46bec4fbefcdb48442ffc6ff661d7392e838..5ab9849bc3b9d0203c7be3eae57ce7938bce982c 100644 |
--- a/content/browser/presentation/presentation_service_impl.cc |
+++ b/content/browser/presentation/presentation_service_impl.cc |
@@ -448,12 +448,12 @@ void PresentationServiceImpl::DidFinishNavigation( |
std::string prev_url_host = navigation_handle->GetPreviousURL().host(); |
std::string curr_url_host = navigation_handle->GetURL().host(); |
- // If a frame navigation is in-page (e.g. navigating to a fragment in |
+ // If a frame navigation is same-document (e.g. navigating to a fragment in |
// same page) then we do not unregister listeners. |
DVLOG(2) << "DidNavigateAnyFrame: " |
<< "prev host: " << prev_url_host << ", curr host: " << curr_url_host |
- << ", details.is_in_page: " << navigation_handle->IsSamePage(); |
- if (navigation_handle->IsSamePage()) |
+ << ", is_same_document: " << navigation_handle->IsSameDocument(); |
+ if (navigation_handle->IsSameDocument()) |
return; |
// Reset if the frame actually navigated. |