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

Unified Diff: chrome/browser/ui/webui/options/chromeos/user_image_source.cc

Issue 2810443002: MD Settings: People: Fix issues with user icons (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: chrome/browser/ui/webui/options/chromeos/user_image_source.cc
diff --git a/chrome/browser/ui/webui/options/chromeos/user_image_source.cc b/chrome/browser/ui/webui/options/chromeos/user_image_source.cc
index c5858ea46f9bacbda5f3062066928958a4060e22..baad28fd5a13bc3331ced7b07a269134bda2c063 100644
--- a/chrome/browser/ui/webui/options/chromeos/user_image_source.cc
+++ b/chrome/browser/ui/webui/options/chromeos/user_image_source.cc
@@ -66,6 +66,8 @@ scoped_refptr<base::RefCountedMemory> GetUserImageInternal(
ui::SCALE_FACTOR_100P);
}
NOTREACHED() << "User with custom image missing data bytes";
+ } else {
+ LOG(ERROR) << "User not found: " << account_id.GetUserEmail();
}
return ResourceBundle::GetSharedInstance().LoadDataResourceBytesForScale(
IDR_LOGIN_DEFAULT_USER, ui::SCALE_FACTOR_100P);
« no previous file with comments | « chrome/browser/resources/settings/people_page/user_list.js ('k') | chrome/browser/ui/webui/settings/profile_info_handler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698