Index: chrome/browser/profiles/profiles_state.cc |
diff --git a/chrome/browser/profiles/profiles_state.cc b/chrome/browser/profiles/profiles_state.cc |
index b819c3f5b40cdb876ceeec0bc8c911b3e00783ec..01d1b93feb5fa12411f63006dcc005d96b4f737f 100644 |
--- a/chrome/browser/profiles/profiles_state.cc |
+++ b/chrome/browser/profiles/profiles_state.cc |
@@ -202,7 +202,7 @@ bool SetActiveProfileToGuestIfLocked() { |
ProfileManager* profile_manager = g_browser_process->profile_manager(); |
const base::FilePath& active_profile_path = |
- profile_manager->GetLastUsedProfileDir(profile_manager->user_data_dir()); |
+ profile_manager->GetLastUsedProfileDir(); |
const base::FilePath& guest_path = ProfileManager::GetGuestProfilePath(); |
if (active_profile_path == guest_path) |
return true; |