Merge branch 'master' into linux

This commit is contained in:
Cheng Zhao
2014-02-19 11:04:15 +00:00
12 changed files with 49 additions and 13 deletions

View File

@@ -5,6 +5,7 @@
#include "app/atom_main_delegate.h"
#include "base/command_line.h"
#include "base/debug/stack_trace.h"
#include "base/logging.h"
#include "browser/atom_browser_client.h"
#include "content/public/common/content_switches.h"
@@ -40,6 +41,11 @@ bool AtomMainDelegate::BasicStartupComplete(int* exit_code) {
// Logging with pid and timestamp.
logging::SetLogItems(true, false, true, false);
// Enable convient stack printing.
#if defined(DEBUG)
base::debug::EnableInProcessStackDumping();
#endif
return brightray::MainDelegate::BasicStartupComplete(exit_code);
}