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

Unified Diff: ash/test/test_metro_viewer_process_host.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 | « no previous file | base/process/process.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/test/test_metro_viewer_process_host.cc
diff --git a/ash/test/test_metro_viewer_process_host.cc b/ash/test/test_metro_viewer_process_host.cc
index 04fbaa5dd7e1b7147d3d2fa5cac7eb4064cc7ae6..c680e456a790c0c2f898d89286c84d8a6a971ab0 100644
--- a/ash/test/test_metro_viewer_process_host.cc
+++ b/ash/test/test_metro_viewer_process_host.cc
@@ -29,7 +29,7 @@ void TestMetroViewerProcessHost::TerminateViewer() {
viewer_process_id,
PROCESS_QUERY_INFORMATION | SYNCHRONIZE | PROCESS_TERMINATE);
if (viewer_process.IsValid()) {
- viewer_process.Terminate(0);
+ viewer_process.Terminate(0, false);
int exit_code;
viewer_process.WaitForExit(&exit_code);
}
« no previous file with comments | « no previous file | base/process/process.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698