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..4364073c54b8c14e5dde2ecd9ff51c3b1ffdb19c 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; |
@@ -48,6 +49,11 @@ |
return self; |
} |
+- (instancetype)init { |
+ NOTREACHED(); |
+ return nil; |
+} |
+ |
- (void)observeValueForKeyPath:(NSString*)keyPath |
ofObject:(id)object |
change:(NSDictionary*)change |