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

Unified Diff: chrome/browser/ui/cocoa/passwords/credential_item_view.mm

Issue 1220713005: Rename avatar_url to icon_url in PasswordForm. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@rename2
Patch Set: Rebased. Created 5 years, 5 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: chrome/browser/ui/cocoa/passwords/credential_item_view.mm
diff --git a/chrome/browser/ui/cocoa/passwords/credential_item_view.mm b/chrome/browser/ui/cocoa/passwords/credential_item_view.mm
index 3ca2de21aad8c41a38f40f69ca0f53035c951f79..2ab98a9cd75d193e4787e98931fb90d0f22af457 100644
--- a/chrome/browser/ui/cocoa/passwords/credential_item_view.mm
+++ b/chrome/browser/ui/cocoa/passwords/credential_item_view.mm
@@ -123,8 +123,8 @@ const CGFloat kVerticalPaddingBetweenLabels = 2.0f;
// Use a default avatar and fetch the custom one, if it exists.
[self updateAvatar:[[self class] defaultAvatar]];
- if (passwordForm_.avatar_url.is_valid())
- [delegate_ fetchAvatar:passwordForm_.avatar_url forView:self];
+ if (passwordForm_.icon_url.is_valid())
+ [delegate_ fetchAvatar:passwordForm_.icon_url forView:self];
// When resizing, stick to the left (resp. right for RTL) edge.
const NSUInteger autoresizingMask =

Powered by Google App Engine
This is Rietveld 408576698