summaryrefslogtreecommitdiffstats
path: root/chrome/app/chrome_dll_main.cc
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/app/chrome_dll_main.cc')
-rw-r--r--chrome/app/chrome_dll_main.cc4
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));