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

Unified Diff: win8/delegate_execute/delegate_execute.cc

Issue 983963002: Redefine base::Process:Terminate so that it can replace base::KillProcess (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Add const Created 5 years, 9 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 | « net/tools/stress_cache/stress_cache.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: win8/delegate_execute/delegate_execute.cc
diff --git a/win8/delegate_execute/delegate_execute.cc b/win8/delegate_execute/delegate_execute.cc
index 2574619867595d62e289344acf8606ffdfdeac18..a41fb5bcc8ff8f886ceaa6847682cf671bae0315 100644
--- a/win8/delegate_execute/delegate_execute.cc
+++ b/win8/delegate_execute/delegate_execute.cc
@@ -110,7 +110,7 @@ int RelaunchChrome(const DelegateExecuteOperation& operation) {
// This could mean that Chrome is hung. Proceed to exterminate.
base::Process process = operation.GetParent();
AtlTrace("%ds timeout. Killing Chrome %d\n", kWaitSeconds, process.Pid());
- process.Terminate(0);
+ process.Terminate(0, false);
} else {
AtlTrace("Failed to wait for relaunch mutex, result is 0x%x\n", result);
}
« no previous file with comments | « net/tools/stress_cache/stress_cache.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698