Index: chrome/nacl/nacl_listener.cc |
diff --git a/chrome/nacl/nacl_listener.cc b/chrome/nacl/nacl_listener.cc |
index 1f48ef59d9a0297e205233b8920ed8e85e725468..01a3305b01340d13cefdf3e681b9ffa797704c55 100644 |
--- a/chrome/nacl/nacl_listener.cc |
+++ b/chrome/nacl/nacl_listener.cc |
@@ -11,7 +11,7 @@ |
#include "base/logging.h" |
#include "base/memory/scoped_ptr.h" |
#include "base/message_loop.h" |
-#include "base/rand_util_c.h" |
+#include "base/rand_util.h" |
#include "chrome/common/nacl_messages.h" |
#include "chrome/nacl/nacl_validation_db.h" |
#include "chrome/nacl/nacl_validation_query.h" |
@@ -192,7 +192,7 @@ void NaClListener::OnMsgStart(const nacl::NaClStartParams& params) { |
std::vector<nacl::FileDescriptor> handles = params.handles; |
#if defined(OS_LINUX) || defined(OS_MACOSX) |
- args->urandom_fd = dup(GetUrandomFD()); |
+ args->urandom_fd = dup(base::GetUrandomFD()); |
if (args->urandom_fd < 0) { |
LOG(ERROR) << "Failed to dup() the urandom FD"; |
return; |