Index: chrome/browser/chrome_browser_main.cc |
=================================================================== |
--- chrome/browser/chrome_browser_main.cc (revision 109836) |
+++ chrome/browser/chrome_browser_main.cc (working copy) |
@@ -550,8 +550,8 @@ |
} else { |
// We did not log in (we crashed or are debugging), so we need to |
// set the user name for sync. |
- chromeos::LoginUtils::Get()->RestoreAuthenticationSession( |
- chromeos::UserManager::Get()->logged_in_user().email(), profile); |
+ profile->GetProfileSyncService( |
+ chromeos::UserManager::Get()->logged_in_user().email()); |
} |
} |