Index: ios/chrome/browser/geolocation/location_manager.h |
diff --git a/ios/chrome/browser/geolocation/location_manager.h b/ios/chrome/browser/geolocation/location_manager.h |
index 1af7b5cb64fbc750c2589d21f53c5be09266e62c..e0df0c570ab0661cbc2babe990f0ac8116086b2b 100644 |
--- a/ios/chrome/browser/geolocation/location_manager.h |
+++ b/ios/chrome/browser/geolocation/location_manager.h |
@@ -29,10 +29,10 @@ |
@property(nonatomic, readonly) CLAuthorizationStatus authorizationStatus; |
// Returns the most recently fetched location. |
-@property(nonatomic, readonly) CLLocation* currentLocation; |
+@property(weak, nonatomic, readonly) CLLocation* currentLocation; |
sdefresne
2016/11/25 10:16:46
This is backed by a scoped_nsobject<>. I think it
stkhapugin
2016/11/25 14:57:16
Done.
|
// The delegate object for this instance of LocationManager. |
-@property(nonatomic, assign) id<LocationManagerDelegate> delegate; |
+@property(nonatomic, weak) id<LocationManagerDelegate> delegate; |
// Boolean value indicating whether location services are enabled on the |
// device. This proxies |[CLLocationManager locationServicesEnabled]|, so that |