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

Unified Diff: chrome/browser/ui/views/profiles/profile_chooser_view.cc

Issue 235833002: [Mac] Redesign the avatar bubble UI (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: preemptive nits Created 6 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: chrome/browser/ui/views/profiles/profile_chooser_view.cc
diff --git a/chrome/browser/ui/views/profiles/profile_chooser_view.cc b/chrome/browser/ui/views/profiles/profile_chooser_view.cc
index c8673379e0a1491c0debdbf67ed5848cc64b24f3..8b1fcc27c983f2b1eaf2b99dc9c6db20fc507529 100644
--- a/chrome/browser/ui/views/profiles/profile_chooser_view.cc
+++ b/chrome/browser/ui/views/profiles/profile_chooser_view.cc
@@ -157,7 +157,7 @@ class EditableProfilePhoto : public views::ImageView {
: views::ImageView(),
change_photo_button_(NULL) {
const int kLargeImageSide = 64;
- gfx::Image image = profiles::GetSizedAvatarIconWithBorder(
+ gfx::Image image = profiles::GetSizedAvatarIcon(
icon, true,
kLargeImageSide + profiles::kAvatarIconPadding,
kLargeImageSide + profiles::kAvatarIconPadding);
@@ -926,7 +926,7 @@ views::View* ProfileChooserView::CreateOtherProfilesView(
const AvatarMenu::Item& item = avatar_menu_->GetItemAt(index);
const int kSmallImageSide = 32;
- gfx::Image image = profiles::GetSizedAvatarIconWithBorder(
+ gfx::Image image = profiles::GetSizedAvatarIcon(
item.icon, true,
kSmallImageSide + profiles::kAvatarIconPadding,
kSmallImageSide + profiles::kAvatarIconPadding);

Powered by Google App Engine
This is Rietveld 408576698