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

Unified Diff: base/process/process_util_unittest.cc

Issue 2941283002: fuchsia: Use new, qualified error names, disable old names. (Closed)
Patch Set: don have Created 3 years, 6 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 | « base/process/process_handle_fuchsia.cc ('k') | base/rand_util_fuchsia.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: base/process/process_util_unittest.cc
diff --git a/base/process/process_util_unittest.cc b/base/process/process_util_unittest.cc
index 6d1ebfd4f76308edd690e9a36e2923150cb01dee..f99d843f62ec293c72a4bba9e81abb50f951e0c5 100644
--- a/base/process/process_util_unittest.cc
+++ b/base/process/process_util_unittest.cc
@@ -877,7 +877,7 @@ bool IsProcessDead(base::ProcessHandle child) {
// make sense.
mx_signals_t signals;
// Timeout of 0 to check for termination, but non-blocking.
- if (mx_object_wait_one(child, MX_TASK_TERMINATED, 0, &signals) == NO_ERROR) {
+ if (mx_object_wait_one(child, MX_TASK_TERMINATED, 0, &signals) == MX_OK) {
DCHECK(signals & MX_TASK_TERMINATED);
return true;
}
« no previous file with comments | « base/process/process_handle_fuchsia.cc ('k') | base/rand_util_fuchsia.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698