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

Unified Diff: ios/chrome/browser/ui/preload_controller.h

Issue 2804703002: [ObjC ARC] Converts ios/chrome/browser/ui:ui_internal_arc to ARC. (Closed)
Patch Set: git cl w Created 3 years, 8 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/preload_controller.h
diff --git a/ios/chrome/browser/ui/preload_controller.h b/ios/chrome/browser/ui/preload_controller.h
index 8c865a8dd7cee8fdaf9230a4e1754c65fd1ee1d0..cf149d0ad1bd171aeb36ea3a22f4263a5108e288 100644
--- a/ios/chrome/browser/ui/preload_controller.h
+++ b/ios/chrome/browser/ui/preload_controller.h
@@ -51,7 +51,7 @@ extern const int kPreloadControllerURLFetcherID;
// The URL of the currently prefetched content. Empty if there is no prefetched
// content.
@property(nonatomic, readonly, assign) GURL prefetchedURL;
-@property(nonatomic, assign) id<PreloadControllerDelegate> delegate;
+@property(nonatomic, unsafe_unretained) id<PreloadControllerDelegate> delegate;
sdefresne 2017/04/06 11:23:45 Can't this be weak?
stkhapugin 2017/04/07 13:02:09 Done. Thank you for pointing this out!
// Designated initializer.
- (instancetype)initWithBrowserState:(ios::ChromeBrowserState*)browserState;

Powered by Google App Engine
This is Rietveld 408576698