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

Unified Diff: content/browser/manifest/manifest_manager_host.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/manifest/manifest_manager_host.cc
diff --git a/content/browser/manifest/manifest_manager_host.cc b/content/browser/manifest/manifest_manager_host.cc
index 50b3ecade66ca6ab3dd258dc8785787920962c71..7683a83f9ee07399b766484ac34f9a58b234fbd2 100644
--- a/content/browser/manifest/manifest_manager_host.cc
+++ b/content/browser/manifest/manifest_manager_host.cc
@@ -19,7 +19,8 @@ void KillRenderer(RenderFrameHost* render_frame_host) {
render_frame_host->GetProcess()->GetHandle();
if (process_handle == base::kNullProcessHandle)
return;
- base::KillProcess(process_handle, RESULT_CODE_KILLED_BAD_MESSAGE, false);
+ render_frame_host->GetProcess()->FastShutdown(RESULT_CODE_KILLED_BAD_MESSAGE,
+ false);
}
} // anonymous namespace

Powered by Google App Engine
This is Rietveld 408576698