Index: chrome/app/chrome_exe_main_win.cc |
diff --git a/chrome/app/chrome_exe_main_win.cc b/chrome/app/chrome_exe_main_win.cc |
index b1095fb081dd470f78f63f2e814c0b02e0953a15..50f8373e835ef33d632f8e9069bf4513bc50e185 100644 |
--- a/chrome/app/chrome_exe_main_win.cc |
+++ b/chrome/app/chrome_exe_main_win.cc |
@@ -244,8 +244,10 @@ int main() { |
if (process_type == crash_reporter::switches::kCrashpadHandler) { |
crash_reporter::SetupFallbackCrashHandling(*command_line); |
+ base::string16 user_data_dir = install_static::GetUserDataDirectory(); |
return crash_reporter::RunAsCrashpadHandler( |
- *base::CommandLine::ForCurrentProcess(), switches::kProcessType); |
+ *base::CommandLine::ForCurrentProcess(), base::FilePath(user_data_dir), |
+ switches::kProcessType, switches::kUserDataDir); |
} else if (process_type == crash_reporter::switches::kFallbackCrashHandler) { |
return RunFallbackCrashHandler(*command_line); |
} |