Index: ios/chrome/browser/geolocation/CLLocation+XGeoHeader.mm |
diff --git a/ios/chrome/browser/geolocation/CLLocation+XGeoHeader.mm b/ios/chrome/browser/geolocation/CLLocation+XGeoHeader.mm |
index f846c4757063311e58d6df1501f6cfc7514bb6a7..e7a42994b4b8b0f1074f3487bfca9b28a22a10c1 100644 |
--- a/ios/chrome/browser/geolocation/CLLocation+XGeoHeader.mm |
+++ b/ios/chrome/browser/geolocation/CLLocation+XGeoHeader.mm |
@@ -8,6 +8,10 @@ |
#import "third_party/google_toolbox_for_mac/src/Foundation/GTMStringEncoding.h" |
+#if !defined(__has_feature) || !__has_feature(objc_arc) |
+#error "This file requires ARC support." |
+#endif |
+ |
NSString* const kGMOLocationDescriptorFormat = |
@"role: CURRENT_LOCATION\n" |
@"producer: DEVICE_LOCATION\n" |
@@ -28,9 +32,8 @@ NSString* const kGMOLocationDescriptorFormat = |
error:nullptr]; |
if (base64) { |
return base64; |
- } else { |
- return @""; |
} |
+ return @""; |
} |
// Returns the timestamp of this location in microseconds since the UNIX epoch. |