diff options
author | evan@chromium.org <evan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-11-16 21:45:17 +0000 |
---|---|---|
committer | evan@chromium.org <evan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-11-16 21:45:17 +0000 |
commit | 9f308ae7b39912090955910e76753aa0823461e3 (patch) | |
tree | 1600f6c38f3113c692e372e34701eb39b3e518c9 /chrome/app | |
parent | a91d639d609db7e4c9ae2ccad3fe1039608c45ff (diff) | |
download | chromium_src-9f308ae7b39912090955910e76753aa0823461e3.zip chromium_src-9f308ae7b39912090955910e76753aa0823461e3.tar.gz chromium_src-9f308ae7b39912090955910e76753aa0823461e3.tar.bz2 |
Use GetSwitchValuePath.
BUG=24672
TEST=unit_tests
Patch by Thiago Farina <thiago.farina@gmail.com>.
Review URL: http://codereview.chromium.org/375016
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@32093 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/app')
-rw-r--r-- | chrome/app/chrome_dll_main.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/chrome/app/chrome_dll_main.cc b/chrome/app/chrome_dll_main.cc index 8d62ddb..c075d88 100644 --- a/chrome/app/chrome_dll_main.cc +++ b/chrome/app/chrome_dll_main.cc @@ -495,8 +495,8 @@ int ChromeMain(int argc, char** argv) { #endif // Notice a user data directory override if any - const FilePath user_data_dir = FilePath::FromWStringHack( - parsed_command_line.GetSwitchValue(switches::kUserDataDir)); + const FilePath user_data_dir = + parsed_command_line.GetSwitchValuePath(switches::kUserDataDir); if (!user_data_dir.empty()) CHECK(PathService::Override(chrome::DIR_USER_DATA, user_data_dir)); |