Index: base/rand_util_fuchsia.cc |
diff --git a/base/rand_util_fuchsia.cc b/base/rand_util_fuchsia.cc |
index e902d168cc5ff2710853a4236b0268fdf77b5b74..bdb210eaa5bb81262996f1c21727577f53f7acfd 100644 |
--- a/base/rand_util_fuchsia.cc |
+++ b/base/rand_util_fuchsia.cc |
@@ -28,7 +28,7 @@ void RandBytes(void* output, size_t output_length) { |
size_t actual; |
mx_status_t status = mx_cprng_draw(cur, read_len, &actual); |
- CHECK(status == NO_ERROR && read_len == actual); |
+ CHECK(status == MX_OK && read_len == actual); |
CHECK(remaining >= actual); |
remaining -= actual; |