Index: chrome/nacl/nacl_main.cc |
=================================================================== |
--- chrome/nacl/nacl_main.cc (revision 71061) |
+++ chrome/nacl/nacl_main.cc (working copy) |
@@ -29,6 +29,10 @@ |
#include "sandbox/src/sandbox.h" |
#endif |
+#if defined(USE_LINUX_BREAKPAD) |
+#include "chrome/app/breakpad_linux.h" |
+#endif |
+ |
#ifdef _WIN64 |
// main() routine for the NaCl broker process. |
@@ -90,6 +94,10 @@ |
// main() routine for the NaCl loader process. |
int NaClMain(const MainFunctionParams& parameters) { |
+#if defined(USE_LINUX_BREAKPAD) |
+ // Needs to be called after we have chrome::DIR_USER_DATA. |
+ InitCrashReporter(); |
+#endif |
const CommandLine& parsed_command_line = parameters.command_line_; |
// This function allows pausing execution using the --nacl-startup-dialog |