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

Unified Diff: ios/chrome/browser/ui/history/history_entry_item.mm

Issue 2823263002: Rename |AddSameSizeConstraint| to |AddSameConstraints|. (Closed)
Patch Set: 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/history/history_entry_item.mm
diff --git a/ios/chrome/browser/ui/history/history_entry_item.mm b/ios/chrome/browser/ui/history/history_entry_item.mm
index 9136b33e43e3761788e2ad2f599d6b48d7fe6499..e4806c6c00e975976fcffe31c800c54dbdeae13e 100644
--- a/ios/chrome/browser/ui/history/history_entry_item.mm
+++ b/ios/chrome/browser/ui/history/history_entry_item.mm
@@ -196,8 +196,7 @@ NSString* FormattedTitle(const base::string16& title, const GURL& url) {
FaviconView* faviconView = self.faviconViewProvider.faviconView;
[cell.faviconViewContainer addSubview:faviconView];
[faviconView setTranslatesAutoresizingMaskIntoConstraints:NO];
- AddSameSizeConstraint(faviconView, cell.faviconViewContainer);
- AddSameCenterConstraints(faviconView, cell.faviconViewContainer);
+ AddSameConstraints(faviconView, cell.faviconViewContainer);
cell.textLabel.text = self.text;
cell.detailTextLabel.text = self.detailText;
« no previous file with comments | « ios/chrome/browser/ui/history/favicon_view.mm ('k') | ios/chrome/browser/ui/reading_list/reading_list_toolbar.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698