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

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
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..4a1efe324d7af708f3471288d108ed6e8df2afa0 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(NULL);
Lei Zhang 2015/05/06 08:05:15 NULL -> nullptr Search for "nullptr" on https://c
}
}
}

Powered by Google App Engine
This is Rietveld 408576698