Index: mojo/dart/embedder/test/dart_to_cpp_tests.cc |
diff --git a/mojo/dart/embedder/test/dart_to_cpp_tests.cc b/mojo/dart/embedder/test/dart_to_cpp_tests.cc |
index 9148e283dd298ccfe550bd1839400bb5c57bee19..9abc7a349dff011b9f8700efa9e3bca0cebd03c3 100644 |
--- a/mojo/dart/embedder/test/dart_to_cpp_tests.cc |
+++ b/mojo/dart/embedder/test/dart_to_cpp_tests.cc |
@@ -9,10 +9,10 @@ |
#include "base/macros.h" |
#include "base/message_loop/message_loop.h" |
#include "base/path_service.h" |
+#include "base/rand_util.h" |
#include "base/run_loop.h" |
#include "base/strings/utf_string_conversions.h" |
#include "base/threading/thread.h" |
-#include "crypto/random.h" |
#include "mojo/dart/embedder/dart_controller.h" |
#include "mojo/dart/embedder/test/dart_to_cpp.mojom.h" |
#include "mojo/edk/test/test_utils.h" |
@@ -277,7 +277,7 @@ class DartToCppTest : public testing::Test { |
} |
static bool GenerateEntropy(uint8_t* buffer, intptr_t length) { |
- crypto::RandBytes(reinterpret_cast<void*>(buffer), length); |
+ base::RandBytes(reinterpret_cast<void*>(buffer), length); |
return true; |
} |