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

Unified Diff: components/dom_distiller/content/browser/dom_distiller_viewer_source.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/dom_distiller_viewer_source.cc
diff --git a/components/dom_distiller/content/browser/dom_distiller_viewer_source.cc b/components/dom_distiller/content/browser/dom_distiller_viewer_source.cc
index aa6e2a89b014a6d90594078ba89a2c5d95b130b3..061bf0cc2fda7c07049100bc5a0f3a1555228583 100644
--- a/components/dom_distiller/content/browser/dom_distiller_viewer_source.cc
+++ b/components/dom_distiller/content/browser/dom_distiller_viewer_source.cc
@@ -138,7 +138,7 @@ void DomDistillerViewerSource::RequestViewerHandle::DidFinishNavigation(
bool expected_main_view_request =
navigation.SchemeIs(expected_scheme_.c_str()) &&
expected_request_path_ == navigation.query();
- if (navigation_handle->IsSamePage() || expected_main_view_request) {
+ if (navigation_handle->IsSameDocument() || expected_main_view_request) {
// In-page navigations, as well as the main view request can be ignored.
if (expected_main_view_request) {
content::RenderFrameHost* render_frame_host =

Powered by Google App Engine
This is Rietveld 408576698