| Index: chrome/renderer/renderer_main.cc
|
| diff --git a/chrome/renderer/renderer_main.cc b/chrome/renderer/renderer_main.cc
|
| index 03e731fd499701d4790ab957664a500dd5932e3b..55ca339e4a0417a61dd5a86f710915509f8c796c 100644
|
| --- a/chrome/renderer/renderer_main.cc
|
| +++ b/chrome/renderer/renderer_main.cc
|
| @@ -25,6 +25,10 @@
|
| #include "grit/chromium_strings.h"
|
| #include "grit/generated_resources.h"
|
|
|
| +#if defined(OS_LINUX)
|
| +#include "chrome/app/breakpad_linux.h"
|
| +#endif
|
| +
|
| // This function provides some ways to test crash and assertion handling
|
| // behavior of the renderer.
|
| static void HandleRendererErrorTestParameters(const CommandLine& command_line) {
|
| @@ -64,6 +68,11 @@ int RendererMain(const MainFunctionParams& parameters) {
|
| const CommandLine& parsed_command_line = parameters.command_line_;
|
| base::ScopedNSAutoreleasePool* pool = parameters.autorelease_pool_;
|
|
|
| +#if defined(OS_LINUX)
|
| + // Needs to be called after we have chrome::DIR_USER_DATA.
|
| + InitCrashReporter();
|
| +#endif
|
| +
|
| // This function allows pausing execution using the --renderer-startup-dialog
|
| // flag allowing us to attach a debugger.
|
| // Do not move this function down since that would mean we can't easily debug
|
|
|