diff options
author | evan@chromium.org <evan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-03-29 21:28:32 +0000 |
---|---|---|
committer | evan@chromium.org <evan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-03-29 21:28:32 +0000 |
commit | ba2e2d1192f8ce307ddad401c4f07043aada02c2 (patch) | |
tree | 5b63aeb2b3aebe907411091da1ef3bf1eef5aaf5 /chrome/browser | |
parent | f8f2db6958d4fd17d9a6d5b33face353680cdd00 (diff) | |
download | chromium_src-ba2e2d1192f8ce307ddad401c4f07043aada02c2.zip chromium_src-ba2e2d1192f8ce307ddad401c4f07043aada02c2.tar.gz chromium_src-ba2e2d1192f8ce307ddad401c4f07043aada02c2.tar.bz2 |
Remove NOTIMPLEMENTED bits for fast shutdown code on non-Windows.
This was just temporary code anyway.
Review URL: http://codereview.chromium.org/49048
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@12756 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser')
-rw-r--r-- | chrome/browser/renderer_host/browser_render_process_host.cc | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/chrome/browser/renderer_host/browser_render_process_host.cc b/chrome/browser/renderer_host/browser_render_process_host.cc index af974f5..62498a0 100644 --- a/chrome/browser/renderer_host/browser_render_process_host.cc +++ b/chrome/browser/renderer_host/browser_render_process_host.cc @@ -474,7 +474,6 @@ bool BrowserRenderProcessHost::FastShutdownIfPossible() { if (BrowserRenderProcessHost::run_renderer_in_process()) return false; // Since process mode can't do fast shutdown. -#if defined(OS_WIN) // Test if there's an unload listener BrowserRenderProcessHost::listeners_iterator iter; // NOTE: This is a bit dangerous. We know that for now, listeners are @@ -493,13 +492,6 @@ bool BrowserRenderProcessHost::FastShutdownIfPossible() { return false; } } -#else - // TODO(port): the above is the only reason this file pulls in - // RenderWidgetHost and RenderViewHost. - // Perhaps IPC::Channel::Listener needs another method like CanTerminate()? - // No matter what, some abstractions are getting broken here... - NOTIMPLEMENTED(); -#endif // Otherwise, we're allowed to just terminate the process. Using exit code 0 // means that UMA won't treat this as a renderer crash. |