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 ca23114424b25110cd961183512fc18ee9f53b60..f83a4ad2fc1630a495793bb62890bb3122d6112a 100644 |
--- a/ios/web/web_state/ui/crw_web_controller.mm |
+++ b/ios/web/web_state/ui/crw_web_controller.mm |
@@ -3400,7 +3400,8 @@ const NSTimeInterval kSnapshotOverlayTransition = 0.5; |
!_webStateImpl->GetNavigationManager()->GetItemCount(); |
BOOL isPossibleLinkClick = [self isLinkNavigation:action.navigationType]; |
if (isPossibleLinkClick || isOpenInNewTabNavigation || |
- [self currentTransition] == ui::PAGE_TRANSITION_AUTO_BOOKMARK) { |
+ PageTransitionCoreTypeIs([self currentTransition], |
+ ui::PAGE_TRANSITION_AUTO_BOOKMARK)) { |
// Check If the URL is handled by a native app. |
if ([self urlTriggersNativeAppLaunch:requestURL |
sourceURL:[self currentNavigationURL] |