Index: chrome/browser/profiles/profile_manager.cc |
diff --git a/chrome/browser/profiles/profile_manager.cc b/chrome/browser/profiles/profile_manager.cc |
index 7011e8ef432431ea20ab76dab25db38589257086..48fecbbfc75b86c7f411243a7e8f44daf166e8f7 100644 |
--- a/chrome/browser/profiles/profile_manager.cc |
+++ b/chrome/browser/profiles/profile_manager.cc |
@@ -16,6 +16,7 @@ |
#include "chrome/browser/browser_process.h" |
#include "chrome/browser/prefs/pref_service.h" |
#include "chrome/browser/prefs/scoped_user_pref_update.h" |
+#include "chrome/browser/sessions/session_service_factory.h" |
#include "chrome/browser/sync/profile_sync_service.h" |
#include "chrome/browser/ui/browser_window.h" |
#include "chrome/common/chrome_constants.h" |
@@ -93,7 +94,7 @@ void ProfileManager::ShutdownSessionServices() { |
return; |
std::vector<Profile*> profiles(pm->GetLoadedProfiles()); |
for (size_t i = 0; i < profiles.size(); ++i) |
- profiles[i]->ShutdownSessionService(); |
+ SessionServiceFactory::ShutdownForProfile(profiles[i]); |
} |
// static |