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

Unified Diff: ash/test/test_metro_viewer_process_host.cc

Issue 1086363003: Handled nullptr argument in WaitForExit() and WaitForExitWithTimeout() methods. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Review comments incorporated. Created 5 years, 7 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 c680e456a790c0c2f898d89286c84d8a6a971ab0..8527e19dda2920466e54cc762e63f4d8c5bc7c46 100644
--- a/ash/test/test_metro_viewer_process_host.cc
+++ b/ash/test/test_metro_viewer_process_host.cc
@@ -30,8 +30,7 @@ void TestMetroViewerProcessHost::TerminateViewer() {
PROCESS_QUERY_INFORMATION | SYNCHRONIZE | PROCESS_TERMINATE);
if (viewer_process.IsValid()) {
viewer_process.Terminate(0, false);
- int exit_code;
- viewer_process.WaitForExit(&exit_code);
+ viewer_process.WaitForExit(nullptr);
}
}
}
« 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