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

Unified Diff: ios/chrome/browser/prefs/pref_observer_bridge.mm

Issue 2506153004: [ObjC ARC] Converts ios/chrome/browser/prefs:prefs to ARC.Automatically generated ARCMigrate comm… (Closed)
Patch Set: Created 4 years, 1 month 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
« no previous file with comments | « ios/chrome/browser/prefs/browser_prefs.mm ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ios/chrome/browser/prefs/pref_observer_bridge.mm
diff --git a/ios/chrome/browser/prefs/pref_observer_bridge.mm b/ios/chrome/browser/prefs/pref_observer_bridge.mm
index 4ba85bb15ddb835f3d4633f2c42b6fdab49f28c8..61083eb6755b5c8e67b9b66d8a10e573bd303dce 100644
--- a/ios/chrome/browser/prefs/pref_observer_bridge.mm
+++ b/ios/chrome/browser/prefs/pref_observer_bridge.mm
@@ -7,6 +7,10 @@
#include "base/bind.h"
#include "components/prefs/pref_change_registrar.h"
+#if !defined(__has_feature) || !__has_feature(objc_arc)
+#error "This file requires ARC support."
+#endif
+
PrefObserverBridge::PrefObserverBridge(id<PrefObserverDelegate> delegate)
: delegate_(delegate) {
}
« no previous file with comments | « ios/chrome/browser/prefs/browser_prefs.mm ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698