Index: chrome/browser/chromeos/login/existing_user_controller.cc |
diff --git a/chrome/browser/chromeos/login/existing_user_controller.cc b/chrome/browser/chromeos/login/existing_user_controller.cc |
index 8e58d448f11b709c39ec1e9b5eaba7f13d3ea199..7aa1d777d0211421595c7a5512d33e250d14f40f 100644 |
--- a/chrome/browser/chromeos/login/existing_user_controller.cc |
+++ b/chrome/browser/chromeos/login/existing_user_controller.cc |
@@ -275,15 +275,15 @@ void ExistingUserController::Observe( |
LOG(INFO) << "Authentication was entered manually, possibly for proxyauth."; |
scoped_refptr<net::URLRequestContextGetter> browser_process_context_getter = |
g_browser_process->system_request_context(); |
- Profile* default_profile = ProfileManager::GetDefaultProfile(); |
- scoped_refptr<net::URLRequestContextGetter> default_profile_context_getter = |
- default_profile->GetRequestContext(); |
+ Profile* signing_profile = ProfileManager::GetSigninProfile(); |
Nikita (slow)
2013/04/04 12:59:13
nit: signing_profile > signin_profile
|
+ scoped_refptr<net::URLRequestContextGetter> signing_profile_context_getter = |
+ signing_profile->GetRequestContext(); |
DCHECK(browser_process_context_getter.get()); |
- DCHECK(default_profile_context_getter.get()); |
+ DCHECK(signing_profile_context_getter.get()); |
content::BrowserThread::PostDelayedTask( |
content::BrowserThread::IO, FROM_HERE, |
base::Bind(&TransferContextAuthenticationsOnIOThread, |
- default_profile_context_getter, |
+ signing_profile_context_getter, |
browser_process_context_getter), |
base::TimeDelta::FromMilliseconds(kAuthCacheTransferDelayMs)); |
} |