Index: chrome/app/chrome_dll_main.cc |
=================================================================== |
--- chrome/app/chrome_dll_main.cc (revision 25084) |
+++ chrome/app/chrome_dll_main.cc (working copy) |
@@ -503,8 +503,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)); |