Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1122)

Unified Diff: content/browser/presentation/presentation_service_impl.cc

Issue 2716493004: Renamed NavigationHandle::IsSamePage to NavigationHandle::IsSameDocument (Closed)
Patch Set: Rebased Created 3 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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.
« no previous file with comments | « content/browser/plugin_content_origin_whitelist.cc ('k') | content/browser/screen_orientation/screen_orientation_provider.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698