| 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 e23141e1fb0ba7a4916fff43a41a8033ca04ef90..d735546b7182aeb4e2acb3c62dd4bc474c4472da 100644
|
| --- a/ios/web/web_state/ui/crw_web_controller.mm
|
| +++ b/ios/web/web_state/ui/crw_web_controller.mm
|
| @@ -1310,7 +1310,7 @@ const NSTimeInterval kSnapshotOverlayTransition = 0.5;
|
| [[self sessionController] pushNewItemWithURL:pageURL
|
| stateObject:stateObject
|
| transition:transition];
|
| - _webStateImpl->OnSamePageNavigation(pageURL);
|
| + _webStateImpl->OnSameDocumentNavigation(pageURL);
|
| self.userInteractionRegistered = NO;
|
| }
|
|
|
| @@ -1318,7 +1318,7 @@ const NSTimeInterval kSnapshotOverlayTransition = 0.5;
|
| stateObject:(NSString*)stateObject {
|
| [[self sessionController] updateCurrentItemWithURL:pageURL
|
| stateObject:stateObject];
|
| - _webStateImpl->OnSamePageNavigation(pageURL);
|
| + _webStateImpl->OnSameDocumentNavigation(pageURL);
|
| }
|
|
|
| - (void)setDocumentURL:(const GURL&)newURL {
|
| @@ -4732,7 +4732,7 @@ const NSTimeInterval kSnapshotOverlayTransition = 0.5;
|
| [self setDocumentURL:webViewURL];
|
| [self webPageChanged];
|
| if (isSameDocumentNavigation) {
|
| - _webStateImpl->OnSamePageNavigation(webViewURL);
|
| + _webStateImpl->OnSameDocumentNavigation(webViewURL);
|
| } else {
|
| _webStateImpl->OnNavigationCommitted(webViewURL);
|
| }
|
| @@ -4888,7 +4888,7 @@ const NSTimeInterval kSnapshotOverlayTransition = 0.5;
|
|
|
| if (!_changingHistoryState) {
|
| [self didStartLoadingURL:_documentURL];
|
| - _webStateImpl->OnSamePageNavigation(newURL);
|
| + _webStateImpl->OnSameDocumentNavigation(newURL);
|
| [self updateSSLStatusForCurrentNavigationItem];
|
| [self didFinishNavigation];
|
| }
|
|
|