Index: chrome/browser/chromeos/preferences.cc |
diff --git a/chrome/browser/chromeos/preferences.cc b/chrome/browser/chromeos/preferences.cc |
index 74d419cb24210d1287b454724517737f74b10912..d0e04df2792ce1d2af8709b4bf1f57bad55f0e96 100644 |
--- a/chrome/browser/chromeos/preferences.cc |
+++ b/chrome/browser/chromeos/preferences.cc |
@@ -24,7 +24,7 @@ |
#include "chrome/browser/chromeos/accessibility/magnification_manager.h" |
#include "chrome/browser/chromeos/drive/file_system_util.h" |
#include "chrome/browser/chromeos/input_method/input_method_util.h" |
-#include "chrome/browser/chromeos/login/session/session_manager.h" |
+#include "chrome/browser/chromeos/login/login_utils.h" |
#include "chrome/browser/chromeos/login/users/user.h" |
#include "chrome/browser/chromeos/system/input_device_settings.h" |
#include "chrome/browser/download/download_prefs.h" |
@@ -361,10 +361,10 @@ |
ApplyPreferences(REASON_INITIALIZATION, ""); |
// If a guest is logged in, initialize the prefs as if this is the first |
- // login. For a regular user this is done in |
- // SessionManager::InitProfilePreferences(). |
- if (CommandLine::ForCurrentProcess()->HasSwitch(switches::kGuestSession)) |
- SessionManager::SetFirstLoginPrefs(prefs); |
+ // login. |
+ if (CommandLine::ForCurrentProcess()->HasSwitch(switches::kGuestSession)) { |
+ LoginUtils::Get()->SetFirstLoginPrefs(prefs); |
+ } |
} |
void Preferences::InitUserPrefsForTesting(PrefServiceSyncable* prefs, |