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

Unified Diff: ios/chrome/browser/tabs/tab.mm

Issue 2734293002: s/IsSamePage/IsSameDocument for NavigationContext. (Closed)
Patch Set: 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: ios/chrome/browser/tabs/tab.mm
diff --git a/ios/chrome/browser/tabs/tab.mm b/ios/chrome/browser/tabs/tab.mm
index 2ba5b8ccdf82b2b7cf0a995426df689aac758a69..76f4d8cd1eac7566de641ee486ae674462e5902a 100644
--- a/ios/chrome/browser/tabs/tab.mm
+++ b/ios/chrome/browser/tabs/tab.mm
@@ -1394,7 +1394,7 @@ void TabInfoBarObserver::OnInfoBarReplaced(infobars::InfoBar* old_infobar,
- (void)webState:(web::WebState*)webState
didFinishNavigation:(web::NavigationContext*)navigation {
- if (navigation->IsSamePage()) {
+ if (navigation->IsSameDocument()) {
auto* faviconDriver = favicon::WebFaviconDriver::FromWebState(webState);
if (faviconDriver) {
// Fetch the favicon for the new URL.

Powered by Google App Engine
This is Rietveld 408576698