Index: chrome/app/chrome_dll_main.cc |
=================================================================== |
--- chrome/app/chrome_dll_main.cc (revision 24861) |
+++ chrome/app/chrome_dll_main.cc (working copy) |
@@ -481,8 +481,8 @@ |
#endif |
// Notice a user data directory override if any |
- const std::wstring user_data_dir = |
- parsed_command_line.GetSwitchValue(switches::kUserDataDir); |
+ const FilePath user_data_dir = FilePath::FromWStringHack( |
+ parsed_command_line.GetSwitchValue(switches::kUserDataDir)); |
if (!user_data_dir.empty()) |
CHECK(PathService::Override(chrome::DIR_USER_DATA, user_data_dir)); |