Index: chrome/browser/chromeos/login/login_utils.cc |
diff --git a/chrome/browser/chromeos/login/login_utils.cc b/chrome/browser/chromeos/login/login_utils.cc |
index bc96847343bbfc05e08c6de31749f7b04e23eff7..a7e4e61098d60ec55c9266022715789d6c039c8b 100644 |
--- a/chrome/browser/chromeos/login/login_utils.cc |
+++ b/chrome/browser/chromeos/login/login_utils.cc |
@@ -415,10 +415,9 @@ void LoginUtilsImpl::PrepareProfile( |
delegate_ = delegate; |
InitSessionRestoreStrategy(); |
- base::FilePath profile_dir; |
if (DemoAppLauncher::IsDemoAppSession(user_context.username)) { |
g_browser_process->profile_manager()->CreateProfileAsync( |
- ProfileManager::GetGuestProfilePath(), |
+ user_manager->GetUserProfileDir(user_context.username), |
base::Bind(&LoginUtilsImpl::OnOTRProfileCreated, AsWeakPtr(), |
user_context.username), |
base::string16(), base::string16(), std::string()); |