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

Unified Diff: components/dom_distiller/content/browser/web_contents_main_frame_observer.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: components/dom_distiller/content/browser/web_contents_main_frame_observer.cc
diff --git a/components/dom_distiller/content/browser/web_contents_main_frame_observer.cc b/components/dom_distiller/content/browser/web_contents_main_frame_observer.cc
index 8e561a758ba1fcdef01a4890b74abcb26275c369..ac85891cb8e98c0164007bda89f929075de3b290 100644
--- a/components/dom_distiller/content/browser/web_contents_main_frame_observer.cc
+++ b/components/dom_distiller/content/browser/web_contents_main_frame_observer.cc
@@ -35,7 +35,7 @@ void WebContentsMainFrameObserver::DidFinishNavigation(
content::NavigationHandle* navigation_handle) {
if (!navigation_handle->IsInMainFrame() ||
!navigation_handle->HasCommitted() ||
- navigation_handle->IsSamePage()) {
+ navigation_handle->IsSameDocument()) {
return;
}

Powered by Google App Engine
This is Rietveld 408576698