Index: chrome/browser/profiles/profile_manager.cc |
diff --git a/chrome/browser/profiles/profile_manager.cc b/chrome/browser/profiles/profile_manager.cc |
index 94af5449c4561cf17e30e2f261bf857cf286a39a..baa7b00056dad4826bce0a9fc846c731fb8817fc 100644 |
--- a/chrome/browser/profiles/profile_manager.cc |
+++ b/chrome/browser/profiles/profile_manager.cc |
@@ -11,6 +11,7 @@ |
#include "base/path_service.h" |
#include "base/string_util.h" |
#include "chrome/browser/browser_process.h" |
+#include "chrome/browser/sessions/session_service_factory.h" |
#include "chrome/browser/ui/browser_list.h" |
#include "chrome/browser/ui/browser_window.h" |
#include "chrome/common/chrome_constants.h" |
@@ -70,7 +71,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 |