Chromium Code Reviews| Index: chrome/browser/ui/webui/options/manage_profile_handler.cc |
| =================================================================== |
| --- chrome/browser/ui/webui/options/manage_profile_handler.cc (revision 115334) |
| +++ chrome/browser/ui/webui/options/manage_profile_handler.cc (working copy) |
| @@ -201,8 +201,8 @@ |
| ProfileMetrics::LogProfileAvatarSelection(new_icon_index); |
| // Updating the profile preference will cause the cache to be updated for |
| // this preference. |
| + cache.SetIsUsingGAIAPictureOfProfileAtIndex(profile_index, false); |
| pref_service->SetInteger(prefs::kProfileAvatarIndex, new_icon_index); |
|
SteveT
2011/12/22 02:59:07
I had to make this switch because SetInteger(kProf
sail
2011/12/22 04:03:11
But wouldn't it eventually become correct once Set
SteveT
2011/12/22 04:36:24
Hm... So SetIsUsingGAIAPictureOfProfileAtIndex cur
sail
2011/12/22 04:48:28
Really? That's weird. Similar to the name function
sail
2011/12/22 04:48:28
Sounds good. I'm not worried about the actual orde
|
| - cache.SetIsUsingGAIAPictureOfProfileAtIndex(profile_index, false); |
| } |
| ProfileMetrics::LogProfileUpdate(profile_file_path); |