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

Unified Diff: trunk/src/chrome/browser/profiles/profile_info_cache.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/profiles/profile_info_cache.cc
===================================================================
--- trunk/src/chrome/browser/profiles/profile_info_cache.cc (revision 263283)
+++ trunk/src/chrome/browser/profiles/profile_info_cache.cc (working copy)
@@ -76,8 +76,7 @@
IDS_DEFAULT_AVATAR_NAME_22,
IDS_DEFAULT_AVATAR_NAME_23,
IDS_DEFAULT_AVATAR_NAME_24,
- IDS_DEFAULT_AVATAR_NAME_25,
- IDS_DEFAULT_AVATAR_NAME_26
+ IDS_DEFAULT_AVATAR_NAME_25
};
typedef std::vector<unsigned char> ImageData;
@@ -396,9 +395,6 @@
int avatar_index = GetAvatarIconIndexOfProfileAtIndex(index);
std::string key = profiles::GetDefaultAvatarIconFileNameAtIndex(avatar_index);
- if (!strcmp(key.c_str(), profiles::GetNoHighResAvatarFileName()))
- return NULL;
-
base::FilePath user_data_dir;
PathService::Get(chrome::DIR_USER_DATA, &user_data_dir);
base::FilePath image_path = user_data_dir.
« no previous file with comments | « trunk/src/chrome/browser/profiles/profile_avatar_icon_util.cc ('k') | trunk/src/chrome/browser/profiles/profile_metrics.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698