Index: chrome/browser/profiles/gaia_info_update_service.cc |
diff --git a/chrome/browser/profiles/gaia_info_update_service.cc b/chrome/browser/profiles/gaia_info_update_service.cc |
index b7fd973769a81b5249d9c93210a80d701145aae8..6e79b855a5547a9a6f98a6d1df72e2113c2f3bcc 100644 |
--- a/chrome/browser/profiles/gaia_info_update_service.cc |
+++ b/chrome/browser/profiles/gaia_info_update_service.cc |
@@ -132,13 +132,6 @@ void GAIAInfoUpdateService::OnProfileDownloadSuccess( |
} else if (picture_status == ProfileDownloader::PICTURE_DEFAULT) { |
cache.SetGAIAPictureOfProfileAtIndex(profile_index, NULL); |
} |
- |
- // Order matters here for shortcut management, like in |
- // ProfileShortcutManagerWin::OnProfileAdded, as the picture update does not |
- // allow us to change the target, so we have to apply any renaming first. We |
- // also need to re-fetch the index, as changing the profile name may alter it. |
- profile_index = cache.GetIndexOfProfileWithPath(profile_->GetPath()); |
- cache.SetIsUsingGAIAPictureOfProfileAtIndex(profile_index, true); |
} |
void GAIAInfoUpdateService::OnProfileDownloadFailure( |