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

Unified Diff: components/dom_distiller/content/browser/distillability_driver.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/distillability_driver.cc
diff --git a/components/dom_distiller/content/browser/distillability_driver.cc b/components/dom_distiller/content/browser/distillability_driver.cc
index 8d5b06e6d6b475a41003a897a9ffcb67cacb3c5a..ce19a4650418bbc1ac41da4080d536bcb7140faa 100644
--- a/components/dom_distiller/content/browser/distillability_driver.cc
+++ b/components/dom_distiller/content/browser/distillability_driver.cc
@@ -91,7 +91,7 @@ void DistillabilityDriver::RenderFrameHostChanged(
void DistillabilityDriver::ReadyToCommitNavigation(
content::NavigationHandle* navigation_handle) {
- if (!navigation_handle->IsSamePage())
+ if (!navigation_handle->IsSameDocument())
SetupMojoService(navigation_handle->GetRenderFrameHost());
}

Powered by Google App Engine
This is Rietveld 408576698