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

Unified Diff: ios/chrome/browser/ui/content_suggestions/cells/content_suggestions_most_visited_cell.mm

Issue 2887073002: Layout Most Visited for ContentSuggestions (Closed)
Patch Set: Make single-line if cohenrent Created 3 years, 7 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
« no previous file with comments | « no previous file | ios/chrome/browser/ui/content_suggestions/content_suggestions_collection_updater.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ios/chrome/browser/ui/content_suggestions/cells/content_suggestions_most_visited_cell.mm
diff --git a/ios/chrome/browser/ui/content_suggestions/cells/content_suggestions_most_visited_cell.mm b/ios/chrome/browser/ui/content_suggestions/cells/content_suggestions_most_visited_cell.mm
index 9e3f93a44662c0869f1c5a8cc05273e335cb887d..5f98dcbdc4f09a5c59d4c8b0d72ba43427a46999 100644
--- a/ios/chrome/browser/ui/content_suggestions/cells/content_suggestions_most_visited_cell.mm
+++ b/ios/chrome/browser/ui/content_suggestions/cells/content_suggestions_most_visited_cell.mm
@@ -45,8 +45,8 @@ const CGSize kCellSize = {73, 100};
_titleLabel.translatesAutoresizingMaskIntoConstraints = NO;
_faviconView.translatesAutoresizingMaskIntoConstraints = NO;
- [self addSubview:_titleLabel];
- [self addSubview:_faviconView];
+ [self.contentView addSubview:_titleLabel];
+ [self.contentView addSubview:_faviconView];
[NSLayoutConstraint activateConstraints:@[
[_faviconView.widthAnchor constraintEqualToConstant:kFaviconSize],
« no previous file with comments | « no previous file | ios/chrome/browser/ui/content_suggestions/content_suggestions_collection_updater.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698