| Index: ios/web/web_state/ui/crw_web_controller.mm
|
| diff --git a/ios/web/web_state/ui/crw_web_controller.mm b/ios/web/web_state/ui/crw_web_controller.mm
|
| index 79ca3a8af824401d65a575173e5f1086552a726b..1da095fc80179383345e2e47356b2dd1d58cc796 100644
|
| --- a/ios/web/web_state/ui/crw_web_controller.mm
|
| +++ b/ios/web/web_state/ui/crw_web_controller.mm
|
| @@ -2211,9 +2211,9 @@ const NSTimeInterval kSnapshotOverlayTransition = 0.5;
|
| if (![userDefaults boolForKey:@"PendingIndexNavigationDisabled"]) {
|
| [self clearTransientContentView];
|
|
|
| - BOOL sameDocumentNavigation = [sessionController
|
| - isSameDocumentNavigationBetweenItem:fromEntry.navigationItem
|
| - andItem:toEntry.navigationItem];
|
| + BOOL sameDocumentNavigation =
|
| + [sessionController isSameDocumentNavigationBetweenEntry:fromEntry
|
| + andEntry:entries[index]];
|
| if (sameDocumentNavigation) {
|
| [self.sessionController goToEntryAtIndex:index];
|
|
|
|
|