| Index: chrome/browser/chromeos/login/user_manager_impl.cc
|
| diff --git a/chrome/browser/chromeos/login/user_manager_impl.cc b/chrome/browser/chromeos/login/user_manager_impl.cc
|
| index 8607cd1f5c2fb6aa8e450718eed1f1c6c497a47e..d1b119812d1862f4e4c319a668011802e53ad0ac 100644
|
| --- a/chrome/browser/chromeos/login/user_manager_impl.cc
|
| +++ b/chrome/browser/chromeos/login/user_manager_impl.cc
|
| @@ -1425,10 +1425,13 @@ void UserManagerImpl::OnDownloadComplete(ProfileDownloader* downloader,
|
| }
|
|
|
| if (result == kDownloadSuccess) {
|
| + // TODO(ivankr): temporary measure until UserManager is fully migrated
|
| + // to use ImageSkia instead of SkBitmap.
|
| + gfx::ImageSkia profile_image(downloaded_profile_image_);
|
| content::NotificationService::current()->Notify(
|
| chrome::NOTIFICATION_PROFILE_IMAGE_UPDATED,
|
| content::Source<UserManagerImpl>(this),
|
| - content::Details<const SkBitmap>(&downloaded_profile_image_));
|
| + content::Details<const gfx::ImageSkia>(&profile_image));
|
| } else {
|
| content::NotificationService::current()->Notify(
|
| chrome::NOTIFICATION_PROFILE_IMAGE_UPDATE_FAILED,
|
|
|