| Index: chrome/app/chrome_main_delegate.cc
|
| diff --git a/chrome/app/chrome_main_delegate.cc b/chrome/app/chrome_main_delegate.cc
|
| index e25ff4f3fa5beea819f975f661718c739644238a..c9578a9788b8b999675dcbeb821be75aaa0c2c14 100644
|
| --- a/chrome/app/chrome_main_delegate.cc
|
| +++ b/chrome/app/chrome_main_delegate.cc
|
| @@ -345,10 +345,8 @@ void InitializeUserDataDir() {
|
|
|
| // On Windows, trailing separators leave Chrome in a bad state.
|
| // See crbug.com/464616.
|
| - if (user_data_dir.EndsWithSeparator()) {
|
| + if (user_data_dir.EndsWithSeparator())
|
| user_data_dir = user_data_dir.StripTrailingSeparators();
|
| - command_line->AppendSwitchPath(switches::kUserDataDir, user_data_dir);
|
| - }
|
|
|
| const bool specified_directory_was_invalid = !user_data_dir.empty() &&
|
| !PathService::OverrideAndCreateIfNeeded(chrome::DIR_USER_DATA,
|
|
|