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

Unified Diff: ios/chrome/browser/ui/omnibox/omnibox_text_field_ios.h

Issue 2707963002: [ObjC ARC] Converts ios/chrome/browser/ui/omnibox:omnibox_internal to ARC. (Closed)
Patch Set: ARC in new code Created 3 years, 9 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/omnibox/omnibox_text_field_ios.h
diff --git a/ios/chrome/browser/ui/omnibox/omnibox_text_field_ios.h b/ios/chrome/browser/ui/omnibox/omnibox_text_field_ios.h
index 6dba94faea42df1e58662ba186dd84de29003476..849c3313ac52a000b062f3ee3ec5a99a557fcfef 100644
--- a/ios/chrome/browser/ui/omnibox/omnibox_text_field_ios.h
+++ b/ios/chrome/browser/ui/omnibox/omnibox_text_field_ios.h
@@ -142,12 +142,12 @@ typedef enum {
// Redeclare the delegate property to be the more specific
// OmniboxTextFieldDelegate.
-@property(nonatomic, assign) id<OmniboxTextFieldDelegate> delegate;
+@property(nonatomic, weak) id<OmniboxTextFieldDelegate> delegate;
-@property(nonatomic, retain) NSString* preEditText;
+@property(nonatomic, strong) NSString* preEditText;
@property(nonatomic) BOOL clearingPreEditText;
-@property(nonatomic, retain) UIColor* selectedTextBackgroundColor;
-@property(nonatomic, retain) UIColor* placeholderTextColor;
+@property(nonatomic, strong) UIColor* selectedTextBackgroundColor;
+@property(nonatomic, strong) UIColor* placeholderTextColor;
@property(nonatomic, assign) BOOL incognito;
@end
« no previous file with comments | « ios/chrome/browser/ui/omnibox/omnibox_popup_view_ios.mm ('k') | ios/chrome/browser/ui/omnibox/omnibox_text_field_ios.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698