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

Unified Diff: ios/chrome/browser/ui/favicon/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
Index: ios/chrome/browser/ui/favicon/favicon_view.mm
diff --git a/ios/chrome/browser/ui/favicon/favicon_view.mm b/ios/chrome/browser/ui/favicon/favicon_view.mm
index 9a5486f301fc6ff261cee8d05e7124c285dd9e4a..74962157412d7b5e2067b451c489c6ea5a7aa173 100644
--- a/ios/chrome/browser/ui/favicon/favicon_view.mm
+++ b/ios/chrome/browser/ui/favicon/favicon_view.mm
@@ -56,10 +56,8 @@ const CGFloat kDefaultWhitePercentage = 0.47;
[_faviconFallbackLabel setTranslatesAutoresizingMaskIntoConstraints:NO];
// Both image and fallback label are centered and match the size of favicon.
- AddSameCenterConstraints(_faviconImageView, self);
- AddSameCenterConstraints(_faviconFallbackLabel, self);
- AddSameSizeConstraint(_faviconFallbackLabel, self);
- AddSameSizeConstraint(_faviconImageView, self);
+ AddSameConstraints(_faviconFallbackLabel, self);
+ AddSameConstraints(_faviconImageView, self);
}
return self;
}
« no previous file with comments | « ios/chrome/browser/ui/elements/activity_overlay_coordinator.mm ('k') | ios/chrome/browser/ui/history/favicon_view.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698