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; |
} |