summaryrefslogtreecommitdiff
path: root/chromium/base/rand_util_posix.cc
diff options
context:
space:
mode:
Diffstat (limited to 'chromium/base/rand_util_posix.cc')
-rw-r--r--chromium/base/rand_util_posix.cc5
1 files changed, 2 insertions, 3 deletions
diff --git a/chromium/base/rand_util_posix.cc b/chromium/base/rand_util_posix.cc
index 9b18777b990..082d64923d5 100644
--- a/chromium/base/rand_util_posix.cc
+++ b/chromium/base/rand_util_posix.cc
@@ -46,9 +46,8 @@ uint64 RandUint64() {
uint64 number;
int urandom_fd = g_urandom_fd.Pointer()->fd();
- bool success = file_util::ReadFromFD(urandom_fd,
- reinterpret_cast<char*>(&number),
- sizeof(number));
+ bool success = ReadFromFD(urandom_fd, reinterpret_cast<char*>(&number),
+ sizeof(number));
CHECK(success);
return number;