win: Only install breakpad hook when crash-reporter is used
This commit is contained in:
parent
d90b598125
commit
f5c25d6277
3 changed files with 14 additions and 16 deletions
|
@ -19,10 +19,6 @@
|
|||
#include "content/public/common/content_switches.h"
|
||||
#include "ui/base/resource/resource_bundle.h"
|
||||
|
||||
#if defined(OS_WIN)
|
||||
#include "atom/common/crash_reporter/crash_reporter_win.h"
|
||||
#endif
|
||||
|
||||
namespace atom {
|
||||
|
||||
namespace {
|
||||
|
@ -73,10 +69,6 @@ bool AtomMainDelegate::BasicStartupComplete(int* exit_code) {
|
|||
// Logging with pid and timestamp.
|
||||
logging::SetLogItems(true, false, true, false);
|
||||
|
||||
#if defined(OS_WIN)
|
||||
crash_reporter::SetupV8CodeRangeHook();
|
||||
#endif
|
||||
|
||||
#if defined(DEBUG) && defined(OS_LINUX)
|
||||
// Enable convient stack printing.
|
||||
base::debug::EnableInProcessStackDumping();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue