Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(465)

Unified Diff: content/renderer/render_thread_impl.cc

Issue 2309153002: Remove RenderThreadImpl::Shutdown (Closed)
Patch Set: temp Created 4 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « content/browser/tracing/memory_tracing_browsertest.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/renderer/render_thread_impl.cc
diff --git a/content/renderer/render_thread_impl.cc b/content/renderer/render_thread_impl.cc
index 4170eb015a85be8cacdf8eb6db9dfa51d67abd81..872ee9c53e2f245008e94ce32cfc49f74f40549e 100644
--- a/content/renderer/render_thread_impl.cc
+++ b/content/renderer/render_thread_impl.cc
@@ -862,6 +862,8 @@ RenderThreadImpl::~RenderThreadImpl() {
}
void RenderThreadImpl::Shutdown() {
+ exit(0);
Torne 2016/09/13 15:08:08 One more comment while I think of it: single-proce
+
FOR_EACH_OBSERVER(
RenderThreadObserver, observers_, OnRenderProcessShutdown());
« no previous file with comments | « content/browser/tracing/memory_tracing_browsertest.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698