| 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.
|
|
|