Index: ios/chrome/browser/infobars/infobar_controller.h |
diff --git a/ios/chrome/browser/infobars/infobar_controller.h b/ios/chrome/browser/infobars/infobar_controller.h |
index d29299ca26aa6bf274c42640f33bfd9b80524096..c77e229f0d3cc548dc89a8f33681a4214e2dd8ca 100644 |
--- a/ios/chrome/browser/infobars/infobar_controller.h |
+++ b/ios/chrome/browser/infobars/infobar_controller.h |
@@ -18,11 +18,12 @@ class InfoBarDelegate; |
@interface InfoBarController : NSObject |
@property(nonatomic, readonly) InfoBarViewDelegate* delegate; |
- |
// Designated initializer. |
- (instancetype)initWithDelegate:(InfoBarViewDelegate*)delegate |
NS_DESIGNATED_INITIALIZER; |
+- (instancetype)init NS_UNAVAILABLE; |
+ |
// Creates a view and lays out all the infobar elements in it. Will not add |
// it as a subview yet. This method must be overriden in subclasses. |
- (base::scoped_nsobject<UIView<InfoBarViewProtocol>>) |