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

Unified Diff: ios/chrome/browser/ui/util/label_link_controller.h

Issue 2819283004: [ObjC ARC] Converts ios/chrome/browser/ui/util:util to ARC. (Closed)
Patch Set: Fix copy for block 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/util/label_link_controller.h
diff --git a/ios/chrome/browser/ui/util/label_link_controller.h b/ios/chrome/browser/ui/util/label_link_controller.h
index 2fab7535283c01bbdad3efd6b7834faa279b7912..e1bed542baff65ae6405598e563d0b6dd1d222ec 100644
--- a/ios/chrome/browser/ui/util/label_link_controller.h
+++ b/ios/chrome/browser/ui/util/label_link_controller.h
@@ -35,7 +35,7 @@ class GURL;
// Sets the link color for any defined links, updating the controlled label's
// attributed text accordingly.
-@property(nonatomic, assign) UIColor* linkColor;
+@property(nonatomic, copy) UIColor* linkColor;
// Sets the link underline style for any defined links, updating the controlled
// label's attributed text accordingly.
@@ -43,7 +43,7 @@ class GURL;
// Sets the link font for any defined links, updating the controlled label's
// attributed text accordingly.
-@property(nonatomic, retain) UIFont* linkFont;
+@property(nonatomic, strong) UIFont* linkFont;
// Creates a new controller for |label|, keeping a strong reference. |action| is
// the block called for any tapped link.

Powered by Google App Engine
This is Rietveld 408576698