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 5cca4825cfb63aecbaf79199e60624916c7bec6c..e48c6a52697e9558ac9644ec791843b9921fbff6 100644 |
--- a/ios/chrome/browser/passwords/update_password_infobar_controller.mm |
+++ b/ios/chrome/browser/passwords/update_password_infobar_controller.mm |
@@ -10,7 +10,7 @@ |
#include "ios/chrome/browser/infobars/confirm_infobar_controller+protected.h" |
#include "ios/chrome/browser/passwords/ios_chrome_update_password_infobar_delegate.h" |
#import "ios/chrome/browser/ui/elements/selector_coordinator.h" |
-#import "ios/chrome/browser/ui/infobars/infobar_view_protocol.h" |
+#import "ios/chrome/browser/ui/infobars/infobar_view.h" |
namespace { |
// Tag for the account link in the info bar message. Set to 10 to avoid conflict |
@@ -39,14 +39,14 @@ NSUInteger kAccountTag = 10; |
return self; |
} |
-- (UIView<InfoBarViewProtocol>*) |
-viewForDelegate:(IOSChromeUpdatePasswordInfoBarDelegate*)delegate |
- frame:(CGRect)frame { |
+- (InfoBarView*)viewForDelegate: |
+ (IOSChromeUpdatePasswordInfoBarDelegate*)delegate |
+ frame:(CGRect)frame { |
_delegate = delegate; |
return [super viewForDelegate:delegate frame:frame]; |
} |
-- (void)updateInfobarLabel:(UIView<InfoBarViewProtocol>*)view { |
+- (void)updateInfobarLabel:(InfoBarView*)view { |
[super updateInfobarLabel:view]; |
// Get the message text with current links marked. |