Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(222)

Unified Diff: ios/web/crw_browsing_data_store_unittest.mm

Issue 1171203004: Correct iOS build for latest Xcode beta. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Nits and move init to end Created 5 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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];

Powered by Google App Engine
This is Rietveld 408576698