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

Unified Diff: content/browser/renderer_host/render_view_host_impl.cc

Issue 740813004: Use StopChildProcess instead of base::KillProcess to kill a renderer process (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix typos Created 6 years, 1 month 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
Index: content/browser/renderer_host/render_view_host_impl.cc
diff --git a/content/browser/renderer_host/render_view_host_impl.cc b/content/browser/renderer_host/render_view_host_impl.cc
index dd4a9e87fe80c801274dd0b79e0fc28414e3c732..2e1f6572d427817dc341f2d80b69843f632bea77 100644
--- a/content/browser/renderer_host/render_view_host_impl.cc
+++ b/content/browser/renderer_host/render_view_host_impl.cc
@@ -750,8 +750,7 @@ void RenderViewHostImpl::SetWebUIProperty(const std::string& name,
} else {
RecordAction(
base::UserMetricsAction("BindingsMismatchTerminate_RVH_WebUI"));
- base::KillProcess(
- GetProcess()->GetHandle(), content::RESULT_CODE_KILLED, false);
+ GetProcess()->FastShutdown(content::RESULT_CODE_KILLED, false);
}
}

Powered by Google App Engine
This is Rietveld 408576698