| Index: chrome/browser/process_singleton_win.cc
|
| diff --git a/chrome/browser/process_singleton_win.cc b/chrome/browser/process_singleton_win.cc
|
| index 688442357842a41c31b35151ce7b2c2e524139e8..4e8de165ee6e8453d6044a9ca272b23eadb387bd 100644
|
| --- a/chrome/browser/process_singleton_win.cc
|
| +++ b/chrome/browser/process_singleton_win.cc
|
| @@ -264,10 +264,7 @@ LRESULT ProcessSingleton::OnCopyData(HWND hwnd, const COPYDATASTRUCT* cds) {
|
| PrefService* prefs = g_browser_process->local_state();
|
| DCHECK(prefs);
|
|
|
| - FilePath user_data_dir;
|
| - PathService::Get(chrome::DIR_USER_DATA, &user_data_dir);
|
| - ProfileManager* profile_manager = g_browser_process->profile_manager();
|
| - Profile* profile = profile_manager->GetDefaultProfile(user_data_dir);
|
| + Profile* profile = ProfileManager::GetDefaultProfile();
|
| if (!profile) {
|
| // We should only be able to get here if the profile already exists and
|
| // has been created.
|
|
|