Index: ios/chrome/browser/passwords/update_password_infobar_controller.mm |
diff --git a/ios/chrome/browser/passwords/update_password_infobar_controller.mm b/ios/chrome/browser/passwords/update_password_infobar_controller.mm |
index e48c6a52697e9558ac9644ec791843b9921fbff6..656b3bb2f88bf4630890b2e793e8359657edceeb 100644 |
--- a/ios/chrome/browser/passwords/update_password_infobar_controller.mm |
+++ b/ios/chrome/browser/passwords/update_password_infobar_controller.mm |
@@ -62,13 +62,14 @@ NSUInteger kAccountTag = 10; |
} |
[view addLabel:base::SysUTF16ToNSString(messageText) |
- target:self |
- action:@selector(infobarLinkDidPress:)]; |
+ action:^(NSUInteger tag) { |
+ [self infobarLinkDidPress:tag]; |
+ }]; |
} |
-- (void)infobarLinkDidPress:(NSNumber*)tag { |
+- (void)infobarLinkDidPress:(NSUInteger)tag { |
[super infobarLinkDidPress:tag]; |
- if ([tag unsignedIntegerValue] != kAccountTag) |
+ if (tag != kAccountTag) |
return; |
UIViewController* baseViewController = |