From: Cheng Zhao Date: Fri, 21 Nov 2014 08:39:16 +0000 (+0800) Subject: Remove debugging print, closes #841 X-Git-Tag: v0.19.4~3 X-Git-Url: http://git.khamidou.com/?a=commitdiff_plain;h=bed09839d5fce3bb35fd17445ae413799a90c1df;p=electron.git Remove debugging print, closes #841 --- diff --git a/atom/app/atom_main_delegate.cc b/atom/app/atom_main_delegate.cc index a2c344b6..1030bb85 100644 --- a/atom/app/atom_main_delegate.cc +++ b/atom/app/atom_main_delegate.cc @@ -89,10 +89,6 @@ void AtomMainDelegate::PreSandboxStartup() { command_line->AppendSwitch("atom-shell-switches-end"); } -void AtomMainDelegate::ProcessExiting(const std::string& process_type) { - LOG(ERROR) << "ProcessExiting: " << process_type; -} - content::ContentBrowserClient* AtomMainDelegate::CreateContentBrowserClient() { browser_client_.reset(new AtomBrowserClient); return browser_client_.get(); diff --git a/atom/app/atom_main_delegate.h b/atom/app/atom_main_delegate.h index 6fd0b4ea..99881537 100644 --- a/atom/app/atom_main_delegate.h +++ b/atom/app/atom_main_delegate.h @@ -19,7 +19,6 @@ class AtomMainDelegate : public brightray::MainDelegate { // content::ContentMainDelegate: virtual bool BasicStartupComplete(int* exit_code) OVERRIDE; virtual void PreSandboxStartup() OVERRIDE; - virtual void ProcessExiting(const std::string& process_type) OVERRIDE; virtual content::ContentBrowserClient* CreateContentBrowserClient() OVERRIDE; virtual content::ContentRendererClient* CreateContentRendererClient() OVERRIDE;