Index: chrome/renderer/pepper/ppb_nacl_private_impl.cc |
diff --git a/chrome/renderer/pepper/ppb_nacl_private_impl.cc b/chrome/renderer/pepper/ppb_nacl_private_impl.cc |
index b9e90759e0b2807745e259ac6bc551b9c3ffcba0..61fa839e4f9dea16f6df96e46ecdf71fbc658b65 100644 |
--- a/chrome/renderer/pepper/ppb_nacl_private_impl.cc |
+++ b/chrome/renderer/pepper/ppb_nacl_private_impl.cc |
@@ -9,7 +9,7 @@ |
#include "base/command_line.h" |
#include "base/lazy_instance.h" |
#include "base/logging.h" |
-#include "base/rand_util_c.h" |
+#include "base/rand_util.h" |
#include "chrome/common/render_messages.h" |
#include "content/public/common/content_switches.h" |
#include "content/public/renderer/render_thread.h" |
@@ -54,9 +54,9 @@ PP_Bool StartPpapiProxy(PP_Instance instance) { |
int UrandomFD(void) { |
#if defined(OS_POSIX) |
- return GetUrandomFD(); |
+ return base::GetUrandomFD(); |
#else |
- return 0; |
+ return -1; |
#endif |
} |