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

Unified Diff: ios/chrome/browser/ui/settings/utils/pref_backed_boolean.mm

Issue 2685863005: [ObjC ARC] Converts ios/chrome/browser/ui/settings/utils:utils to ARC. (Closed)
Patch Set: Created 3 years, 10 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/chrome/browser/ui/settings/utils/pref_backed_boolean.mm
diff --git a/ios/chrome/browser/ui/settings/utils/pref_backed_boolean.mm b/ios/chrome/browser/ui/settings/utils/pref_backed_boolean.mm
index 4cf0491aa700a6917b93d7eec5013a8e1f2b2322..09e4a3786f14abb4cd2fabbef40c71a47df84e97 100644
--- a/ios/chrome/browser/ui/settings/utils/pref_backed_boolean.mm
+++ b/ios/chrome/browser/ui/settings/utils/pref_backed_boolean.mm
@@ -8,6 +8,10 @@
#include "components/prefs/pref_member.h"
#include "components/prefs/pref_service.h"
+#if !defined(__has_feature) || !__has_feature(objc_arc)
+#error "This file requires ARC support."
+#endif
+
namespace {
// Adaptor function to allow invoking onChange as a base::Closure.

Powered by Google App Engine
This is Rietveld 408576698