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

Unified Diff: ios/chrome/browser/ui/tools_menu/tools_menu_view_item.h

Issue 2941043002: [ObjC ARC] Converts ios/chrome/browser/ui/tools_menu:tools_menu to ARC. (Closed)
Patch Set: manual review. Created 3 years, 6 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/tools_menu/tools_menu_view_item.h
diff --git a/ios/chrome/browser/ui/tools_menu/tools_menu_view_item.h b/ios/chrome/browser/ui/tools_menu/tools_menu_view_item.h
index 2cb597e24e26c91bf57f1a59367477fddb47a75f..8afe3e8fee120bb29f1f6cd39cf028afd913ba7e 100644
--- a/ios/chrome/browser/ui/tools_menu/tools_menu_view_item.h
+++ b/ios/chrome/browser/ui/tools_menu/tools_menu_view_item.h
@@ -14,7 +14,7 @@
@property(nonatomic, copy) NSString* title;
@property(nonatomic, assign) NSInteger tag;
@property(nonatomic, assign) BOOL active;
-@property(nonatomic, assign) ToolsMenuViewCell* tableViewCell;
+@property(nonatomic, weak) ToolsMenuViewCell* tableViewCell;
+ (NSString*)cellID;
+ (Class)cellClass;
@@ -25,7 +25,7 @@
@end
@interface ToolsMenuViewCell : UICollectionViewCell
-@property(nonatomic, retain) UILabel* title;
+@property(nonatomic, strong) UILabel* title;
@property(nonatomic, readonly) CGFloat horizontalMargin;
- (void)configureForMenuItem:(ToolsMenuViewItem*)item;

Powered by Google App Engine
This is Rietveld 408576698