diff options
author | jam@chromium.org <jam@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-06-19 17:54:07 +0000 |
---|---|---|
committer | jam@chromium.org <jam@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-06-19 17:54:07 +0000 |
commit | 9166f7419417f317c6bacc43381ad7b9f0c3821c (patch) | |
tree | 3fb6c59e85e8dfd189b990362a6cfed2092571e5 /content/browser | |
parent | ede2be6eeadd31ed9e86274bdb852ed5a57d63c4 (diff) | |
download | chromium_src-9166f7419417f317c6bacc43381ad7b9f0c3821c.zip chromium_src-9166f7419417f317c6bacc43381ad7b9f0c3821c.tar.gz chromium_src-9166f7419417f317c6bacc43381ad7b9f0c3821c.tar.bz2 |
Small cleanup in BrowserChildProcessHost. ChildProcessHostDelegate::ShutdownStarted isn't called.
Review URL: https://chromiumcodereview.appspot.com/10559047
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@142989 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'content/browser')
-rw-r--r-- | content/browser/browser_child_process_host_impl.cc | 7 | ||||
-rw-r--r-- | content/browser/browser_child_process_host_impl.h | 1 |
2 files changed, 0 insertions, 8 deletions
diff --git a/content/browser/browser_child_process_host_impl.cc b/content/browser/browser_child_process_host_impl.cc index 23a0079..0d81c92 100644 --- a/content/browser/browser_child_process_host_impl.cc +++ b/content/browser/browser_child_process_host_impl.cc @@ -313,13 +313,6 @@ bool BrowserChildProcessHostImpl::Send(IPC::Message* message) { return child_process_host_->Send(message); } -void BrowserChildProcessHostImpl::ShutdownStarted() { - // Must remove the process from the list now, in case it gets used for a - // new instance before our watcher tells us that the process terminated. - g_child_process_list.Get().remove(this); -} - - void BrowserChildProcessHostImpl::OnProcessLaunched() { if (!child_process_->GetHandle()) { delete delegate_; // Will delete us diff --git a/content/browser/browser_child_process_host_impl.h b/content/browser/browser_child_process_host_impl.h index a405aca..877f5e4 100644 --- a/content/browser/browser_child_process_host_impl.h +++ b/content/browser/browser_child_process_host_impl.h @@ -85,7 +85,6 @@ class CONTENT_EXPORT BrowserChildProcessHostImpl : // ChildProcessHostDelegate implementation: virtual bool CanShutdown() OVERRIDE; virtual void OnChildDisconnected() OVERRIDE; - virtual void ShutdownStarted() OVERRIDE; virtual bool OnMessageReceived(const IPC::Message& message) OVERRIDE; virtual void OnChannelConnected(int32 peer_pid) OVERRIDE; virtual void OnChannelError() OVERRIDE; |