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 2feb04c21c0f9c7234a8bcff381e621c018d0756..54a315ba41d3d0f24bf1260aa518161fe40e1c6b 100644 |
--- a/chrome/browser/chromeos/login/login_utils.cc |
+++ b/chrome/browser/chromeos/login/login_utils.cc |
@@ -47,6 +47,7 @@ |
#include "chrome/browser/chromeos/net/connectivity_state_helper.h" |
#include "chrome/browser/chromeos/net/connectivity_state_helper_observer.h" |
#include "chrome/browser/chromeos/policy/network_configuration_updater.h" |
+#include "chrome/browser/chromeos/profiles/profile_helper.h" |
#include "chrome/browser/chromeos/settings/cros_settings.h" |
#include "chrome/browser/chromeos/settings/cros_settings_names.h" |
#include "chrome/browser/extensions/extension_service.h" |
@@ -131,7 +132,7 @@ class LoginUtilsImpl |
registrar_.Add( |
this, |
chrome::NOTIFICATION_PROFILE_URL_REQUEST_CONTEXT_GETTER_INITIALIZED, |
- content::Source<Profile>(ProfileManager::GetDefaultProfile())); |
+ content::Source<Profile>(ProfileHelper::GetSigninProfile())); |
} |
} |
@@ -792,7 +793,7 @@ class WarmingObserver : public ConnectivityStateHelperObserver, |
registrar_.Add( |
this, |
chrome::NOTIFICATION_PROFILE_URL_REQUEST_CONTEXT_GETTER_INITIALIZED, |
- content::Source<Profile>(ProfileManager::GetDefaultProfile())); |
+ content::Source<Profile>(ProfileHelper::GetSigninProfile())); |
} |
} |