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

Unified Diff: ios/chrome/browser/callback_counter.mm

Issue 2885163004: [ObjC ARC] Converts ios/chrome/browser:browser_internal to ARC. (Closed)
Patch Set: Created 3 years, 7 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
« no previous file with comments | « ios/chrome/browser/BUILD.gn ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ios/chrome/browser/callback_counter.mm
diff --git a/ios/chrome/browser/callback_counter.mm b/ios/chrome/browser/callback_counter.mm
index ffe4642a4a74c757ee034b591249d46afba7b1a6..73b1aa26ad3775aad73c3cdff725a820d56f8c47 100644
--- a/ios/chrome/browser/callback_counter.mm
+++ b/ios/chrome/browser/callback_counter.mm
@@ -4,6 +4,10 @@
#include "ios/chrome/browser/callback_counter.h"
+#if !defined(__has_feature) || !__has_feature(objc_arc)
+#error "This file requires ARC support."
+#endif
+
CallbackCounter::CallbackCounter(const FinalCallback& final_callback)
: callback_count_(0U), final_callback_(final_callback) {
DCHECK(!final_callback.is_null());
« no previous file with comments | « ios/chrome/browser/BUILD.gn ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698