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

Unified Diff: components/zoom/zoom_controller.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/zoom/zoom_controller.cc
diff --git a/components/zoom/zoom_controller.cc b/components/zoom/zoom_controller.cc
index 8d258a5d7adb3ddaf7c36df2848d1be6af680252..dd3dafcd4b2298d14c6178ecb6fabed7fdd7bc00 100644
--- a/components/zoom/zoom_controller.cc
+++ b/components/zoom/zoom_controller.cc
@@ -293,7 +293,7 @@ void ZoomController::DidFinishNavigation(
if (navigation_handle->IsErrorPage())
content::HostZoomMap::SendErrorPageZoomLevelRefresh(web_contents());
- if (!navigation_handle->IsSamePage())
+ if (!navigation_handle->IsSameDocument())
ResetZoomModeOnNavigationIfNeeded(navigation_handle->GetURL());
// If the main frame's content has changed, the new page may have a different

Powered by Google App Engine
This is Rietveld 408576698