Index: chrome/browser/chromeos/extensions/file_manager/private_api_misc.cc |
diff --git a/chrome/browser/chromeos/extensions/file_manager/private_api_misc.cc b/chrome/browser/chromeos/extensions/file_manager/private_api_misc.cc |
index 094e5ffc174fec991befa5ded82050686f424e69..d38d9865ad23ddda858aa2c0cc7b88decacbe928 100644 |
--- a/chrome/browser/chromeos/extensions/file_manager/private_api_misc.cc |
+++ b/chrome/browser/chromeos/extensions/file_manager/private_api_misc.cc |
@@ -89,18 +89,6 @@ GetLoggedInProfileInfoList(content::WebContents* contents) { |
// TODO(hirono): Remove the property from the profile_info. |
profile_info->is_current_profile = true; |
- // Make an icon URL of the profile. |
- if (contents) { |
- const gfx::Image& image = |
- ash::GetAvatarImageForContext(contents->GetBrowserContext()); |
- const gfx::ImageSkia& skia = image.AsImageSkia(); |
- profile_info->profile_image.reset( |
- new api::file_browser_private::ImageSet); |
- profile_info->profile_image->scale1x_url = |
- webui::GetBitmapDataUrl(skia.GetRepresentation(1.0f).sk_bitmap()); |
- profile_info->profile_image->scale2x_url = |
- webui::GetBitmapDataUrl(skia.GetRepresentation(2.0f).sk_bitmap()); |
- } |
result_profiles.push_back(profile_info); |
} |