Index: ios/web/crw_browsing_data_store_unittest.mm |
diff --git a/ios/web/crw_browsing_data_store_unittest.mm b/ios/web/crw_browsing_data_store_unittest.mm |
index a35c7f954d88a6cbe702ed44aafc3cf61dad8cfb..5706ecfbdcfa5f280ca4d43ec6b6f209084038e8 100644 |
--- a/ios/web/crw_browsing_data_store_unittest.mm |
+++ b/ios/web/crw_browsing_data_store_unittest.mm |
@@ -22,6 +22,7 @@ |
// Designated init. |browsingDataStore| cannot be null. |
- (instancetype)initWithBrowsingDataStore: |
(CRWBrowsingDataStore*)browsingDataStore NS_DESIGNATED_INITIALIZER; |
+- (instancetype)init NS_UNAVAILABLE; |
// The number of times that the mode of the underlying CRWBrowsingDataStore |
// changed. |
@property(nonatomic, assign) NSUInteger modeChangeCount; |
@@ -34,6 +35,11 @@ |
@synthesize modeChangeCount = _modeChangeCount; |
+- (instancetype)init { |
+ NOTREACHED(); |
+ return nil; |
+} |
+ |
- (instancetype)initWithBrowsingDataStore: |
(CRWBrowsingDataStore*)browsingDataStore { |
self = [super init]; |