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

Unified Diff: base/rand_util_posix.cc

Issue 89523002: Move Posix file utils to the base namespace. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 1 month 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_handle_linux.cc ('k') | base/sync_socket_posix.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: base/rand_util_posix.cc
diff --git a/base/rand_util_posix.cc b/base/rand_util_posix.cc
index 9b18777b990e42417359c0ffb879833b87dbc742..082d64923d5b9bf63890565bcf922eb361cc3ab3 100644
--- a/base/rand_util_posix.cc
+++ b/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;
« no previous file with comments | « base/process/process_handle_linux.cc ('k') | base/sync_socket_posix.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698