Chromium Code Reviews| Index: chrome/browser/profiles/profile_impl.cc |
| diff --git a/chrome/browser/profiles/profile_impl.cc b/chrome/browser/profiles/profile_impl.cc |
| index e2b625d35a43799725fc2829675db6e7c1524346..ae5100f1221053e0cfc3047699ef0e7fbcb29694 100644 |
| --- a/chrome/browser/profiles/profile_impl.cc |
| +++ b/chrome/browser/profiles/profile_impl.cc |
| @@ -749,6 +749,14 @@ void ProfileImpl::OnPrefsLoaded(bool success) { |
| // TODO(sky): remove this in a couple of releases (m28ish). |
| prefs_->SetBoolean(prefs::kSessionExitedCleanly, true); |
| +#if defined(OS_WIN) |
| + // Ensure the profile's icon file has been created. |
| + ProfileShortcutManager* profile_shortcut_manager = |
|
Alexei Svitkine (slow)
2013/05/09 16:45:47
I still think we should only do this if the pref i
calamity
2013/05/24 08:58:48
Done.
|
| + g_browser_process->profile_manager()->profile_shortcut_manager(); |
| + if (profile_shortcut_manager) |
| + profile_shortcut_manager->CreateProfileIcon(GetPath()); |
| +#endif |
| + |
| ProfileDependencyManager::GetInstance()->CreateProfileServices(this, false); |
| DCHECK(!net_pref_observer_.get()); |