diff options
author | pkotwicz@chromium.org <pkotwicz@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-05-15 03:52:53 +0000 |
---|---|---|
committer | pkotwicz@chromium.org <pkotwicz@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-05-15 03:52:53 +0000 |
commit | d791018e637fe65c72448b55e1e786bfb0154eab (patch) | |
tree | 8abf881ab2ba1eb4a8a94231a66e6e955f0e2316 /chrome/browser/profiles | |
parent | ea3ee0a8f3e4841e7e27dfc371c98a8b5dd5ca9a (diff) | |
download | chromium_src-d791018e637fe65c72448b55e1e786bfb0154eab.zip chromium_src-d791018e637fe65c72448b55e1e786bfb0154eab.tar.gz chromium_src-d791018e637fe65c72448b55e1e786bfb0154eab.tar.bz2 |
Get rid of Image::Image(SkBitmap*)
Bug=124566
Test=Compiles on CrOS,Mac
Review URL: https://chromiumcodereview.appspot.com/10378009
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@137075 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/profiles')
-rw-r--r-- | chrome/browser/profiles/gaia_info_update_service.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/chrome/browser/profiles/gaia_info_update_service.cc b/chrome/browser/profiles/gaia_info_update_service.cc index f7ada7e..32ce7cd 100644 --- a/chrome/browser/profiles/gaia_info_update_service.cc +++ b/chrome/browser/profiles/gaia_info_update_service.cc @@ -129,7 +129,7 @@ void GAIAInfoUpdateService::OnDownloadComplete(ProfileDownloader* downloader, if (picture_status == ProfileDownloader::PICTURE_SUCCESS) { profile_->GetPrefs()->SetString(prefs::kProfileGAIAInfoPictureURL, picture_url); - gfx::Image gfx_image(new SkBitmap(bitmap)); + gfx::Image gfx_image(bitmap); cache.SetGAIAPictureOfProfileAtIndex(profile_index, &gfx_image); } else if (picture_status == ProfileDownloader::PICTURE_DEFAULT) { cache.SetGAIAPictureOfProfileAtIndex(profile_index, NULL); |