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

Unified Diff: ios/chrome/browser/geolocation/CLLocation+OmniboxGeolocation.mm

Issue 2528003002: [ObjC ARC] Converts ios/chrome/browser/geolocation:geolocation to ARC.Automatically generated ARC… (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
Index: ios/chrome/browser/geolocation/CLLocation+OmniboxGeolocation.mm
diff --git a/ios/chrome/browser/geolocation/CLLocation+OmniboxGeolocation.mm b/ios/chrome/browser/geolocation/CLLocation+OmniboxGeolocation.mm
index 1449373d84271dae2de0ee428eabc032cd0c69bc..f384ee7ab6ce215b47cfe84d5b8f2da0f96297bf 100644
--- a/ios/chrome/browser/geolocation/CLLocation+OmniboxGeolocation.mm
+++ b/ios/chrome/browser/geolocation/CLLocation+OmniboxGeolocation.mm
@@ -8,6 +8,10 @@
#include "base/mac/scoped_nsobject.h"
+#if !defined(__has_feature) || !__has_feature(objc_arc)
+#error "This file requires ARC support."
+#endif
+
namespace {
// The key needed for objc_setAssociatedObject. Any value will do, because the

Powered by Google App Engine
This is Rietveld 408576698