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

Unified Diff: ios/chrome/browser/ui/history/favicon_view.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
« no previous file with comments | « ios/chrome/browser/ui/favicon/favicon_view.mm ('k') | ios/chrome/browser/ui/history/history_entry_item.mm » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ios/chrome/browser/ui/history/favicon_view.mm
diff --git a/ios/chrome/browser/ui/history/favicon_view.mm b/ios/chrome/browser/ui/history/favicon_view.mm
index e2958ebb7a7ec0b0438231eab1945c8b461169de..fca9135573eaff06eea194f267163b49ff19f838 100644
--- a/ios/chrome/browser/ui/history/favicon_view.mm
+++ b/ios/chrome/browser/ui/history/favicon_view.mm
@@ -48,10 +48,8 @@ const CGFloat kDefaultCornerRadius = 3;
[_faviconImage setTranslatesAutoresizingMaskIntoConstraints:NO];
[_faviconFallbackLabel setTranslatesAutoresizingMaskIntoConstraints:NO];
- AddSameCenterConstraints(_faviconImage, self);
- AddSameSizeConstraint(_faviconImage, self);
- AddSameCenterConstraints(_faviconFallbackLabel, self);
- AddSameSizeConstraint(_faviconFallbackLabel, self);
+ AddSameConstraints(_faviconImage, self);
+ AddSameConstraints(_faviconFallbackLabel, self);
_faviconSizeConstraints = @[
[self.widthAnchor constraintEqualToConstant:0],
[self.heightAnchor constraintEqualToConstant:0],
« no previous file with comments | « ios/chrome/browser/ui/favicon/favicon_view.mm ('k') | ios/chrome/browser/ui/history/history_entry_item.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698