| Index: chrome/browser/ui/webui/options2/manage_profile_handler2.cc
|
| diff --git a/chrome/browser/ui/webui/options2/manage_profile_handler2.cc b/chrome/browser/ui/webui/options2/manage_profile_handler2.cc
|
| index ade3ca7b8984555630b5ace49f4a8abe03b1711f..3ede79051a2bb102ea5c76ac9053dec721e570c1 100644
|
| --- a/chrome/browser/ui/webui/options2/manage_profile_handler2.cc
|
| +++ b/chrome/browser/ui/webui/options2/manage_profile_handler2.cc
|
| @@ -108,7 +108,7 @@ void ManageProfileHandler::SendProfileIcons() {
|
| cache.GetGAIAPictureOfProfileAtIndex(profile_index);
|
| if (icon) {
|
| gfx::Image icon2 = profiles::GetAvatarIconForWebUI(*icon, true);
|
| - gaia_picture_url_ = web_ui_util::GetImageDataUrl(*icon2.ToSkBitmap());
|
| + gaia_picture_url_ = web_ui_util::GetImageDataUrl(*icon2.ToImageSkia());
|
| image_url_list.Append(Value::CreateStringValue(gaia_picture_url_));
|
| }
|
| }
|
| @@ -268,7 +268,7 @@ void ManageProfileHandler::RequestProfileInfo(const ListValue* args) {
|
| gfx::Image icon = profiles::GetAvatarIconForWebUI(
|
| cache.GetAvatarIconOfProfileAtIndex(index), true);
|
| profile_value.SetString("iconURL",
|
| - web_ui_util::GetImageDataUrl(*icon.ToSkBitmap()));
|
| + web_ui_util::GetImageDataUrl(*icon.ToImageSkia()));
|
| } else {
|
| size_t icon_index = cache.GetAvatarIconIndexOfProfileAtIndex(index);
|
| profile_value.SetString("iconURL",
|
|
|