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..4e5e1fab331f49377e2c8b5299ef892de035554a 100644 |
| --- a/chrome/browser/profiles/profile_impl.cc |
| +++ b/chrome/browser/profiles/profile_impl.cc |
| @@ -749,6 +749,13 @@ 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 = |
| + g_browser_process->profile_manager()->profile_shortcut_manager(); |
| + profile_shortcut_manager->CreateProfileIcon(GetPath()); |
|
gab
2013/05/08 13:01:08
Why call this from here when it was already called
calamity
2013/05/09 06:12:16
chrome_browser_main only runs for the first loaded
|
| +#endif |
| + |
| ProfileDependencyManager::GetInstance()->CreateProfileServices(this, false); |
| DCHECK(!net_pref_observer_.get()); |