| Index: ios/chrome/browser/ui/content_suggestions/content_suggestions_section_information.mm
|
| diff --git a/ios/chrome/browser/ui/content_suggestions/content_suggestions_section_information.mm b/ios/chrome/browser/ui/content_suggestions/content_suggestions_section_information.mm
|
| index 85969aab0b4bf71d9508a159b7f6ea5dfe2d1d5f..817f8aa06b584d29c42193b4b111cfed42482275 100644
|
| --- a/ios/chrome/browser/ui/content_suggestions/content_suggestions_section_information.mm
|
| +++ b/ios/chrome/browser/ui/content_suggestions/content_suggestions_section_information.mm
|
| @@ -14,20 +14,14 @@
|
|
|
| @synthesize emptyCell = _emptyCell;
|
| @synthesize layout = _layout;
|
| -@synthesize ID = _ID;
|
| +@synthesize sectionID = _sectionID;
|
| @synthesize title = _title;
|
|
|
| -- (instancetype)initWithID:(ContentSuggestionsSectionID)ID
|
| - emptyCell:(CollectionViewItem*)emptyCell
|
| - layout:(ContentSuggestionsSectionLayout)layout
|
| - title:(NSString*)title {
|
| +- (instancetype)initWithSectionID:(ContentSuggestionsSectionID)sectionID {
|
| self = [super init];
|
| if (self) {
|
| - DCHECK(ID < ContentSuggestionsSectionCount);
|
| - _ID = ID;
|
| - _layout = layout;
|
| - _emptyCell = emptyCell;
|
| - _title = [title copy];
|
| + DCHECK(sectionID < ContentSuggestionsSectionUnknown);
|
| + _sectionID = sectionID;
|
| }
|
| return self;
|
| }
|
|
|