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

Unified Diff: base/rand_util_fuchsia.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_util_unittest.cc ('k') | build/config/fuchsia/BUILD.gn » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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;
« no previous file with comments | « base/process/process_util_unittest.cc ('k') | build/config/fuchsia/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698