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

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

Issue 234583008: Revert 263262 "Newly created profiles should have the grey silho..." (Closed) Base URL: svn://svn.chromium.org/chrome/
Patch Set: 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: trunk/src/chrome/browser/ui/views/profiles/profile_chooser_view.cc
===================================================================
--- trunk/src/chrome/browser/ui/views/profiles/profile_chooser_view.cc (revision 263283)
+++ trunk/src/chrome/browser/ui/views/profiles/profile_chooser_view.cc (working copy)
@@ -9,7 +9,6 @@
#include "chrome/browser/browser_process.h"
#include "chrome/browser/lifetime/application_lifetime.h"
#include "chrome/browser/profiles/profile_avatar_icon_util.h"
-#include "chrome/browser/profiles/profile_info_cache.h"
#include "chrome/browser/profiles/profile_manager.h"
#include "chrome/browser/profiles/profile_window.h"
#include "chrome/browser/profiles/profiles_state.h"
@@ -867,8 +866,7 @@
views::View* ProfileChooserView::CreateGuestProfileView() {
gfx::Image guest_icon =
- ui::ResourceBundle::GetSharedInstance().GetImageNamed(
- profiles::GetPlaceholderAvatarIconResourceID());
+ ui::ResourceBundle::GetSharedInstance().GetImageNamed(IDR_LOGIN_GUEST);
AvatarMenu::Item guest_avatar_item(0, 0, guest_icon);
guest_avatar_item.active = true;
guest_avatar_item.name = l10n_util::GetStringUTF16(

Powered by Google App Engine
This is Rietveld 408576698