Index: chrome/browser/sync/credential_cache_service_win.cc |
diff --git a/chrome/browser/sync/credential_cache_service_win.cc b/chrome/browser/sync/credential_cache_service_win.cc |
index 23ac826ef192f9de27889e13a01a48976e48de0f..9c938d0b5e1d2113fe53b8658a91f7e618af5501 100644 |
--- a/chrome/browser/sync/credential_cache_service_win.cc |
+++ b/chrome/browser/sync/credential_cache_service_win.cc |
@@ -693,8 +693,9 @@ void CredentialCacheService::LookForCachedCredentialsInAlternateProfile() { |
// Attempt to read cached credentials from the alternate profile. If no file |
// exists, ReadPrefsAsync() will cause PREF_READ_ERROR_NO_FILE to be returned |
// after initialization is complete. |
+ FilePath path = GetCredentialPathInAlternateProfile(); |
alternate_store_ = new JsonPrefStore( |
- GetCredentialPathInAlternateProfile(), |
+ path, |
content::BrowserThread::GetMessageLoopProxyForThread( |
content::BrowserThread::FILE)); |
alternate_store_observer_ = new AlternateStoreObserver(this, |