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

Unified Diff: base/rand_util_nacl.cc

Issue 345733007: Stop using the nacl_secure_random_init() which is deprecated. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: base/rand_util_nacl.cc
diff --git a/base/rand_util_nacl.cc b/base/rand_util_nacl.cc
index a8ea202fc7edde189c612969cad9bde5b13af0eb..b771dc44547dbce7f3b99058cab0c6bce4c43fe1 100644
--- a/base/rand_util_nacl.cc
+++ b/base/rand_util_nacl.cc
@@ -12,7 +12,6 @@
namespace {
void GetRandomBytes(void* output, size_t num_bytes) {
- CHECK_EQ(0, nacl_secure_random_init());
char* output_ptr = static_cast<char*>(output);
while (num_bytes > 0) {
size_t nread;
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698