| Index: mojo/dart/embedder/builtin_natives.cc
|
| diff --git a/mojo/dart/embedder/builtin_natives.cc b/mojo/dart/embedder/builtin_natives.cc
|
| index 4a8ce6efd1a7811ecbfa2fda3231b58da3c54187..e7a55854f2fc28baa0b16595fc372014da524d13 100644
|
| --- a/mojo/dart/embedder/builtin_natives.cc
|
| +++ b/mojo/dart/embedder/builtin_natives.cc
|
| @@ -12,7 +12,7 @@
|
| #include "base/logging.h"
|
| #include "base/macros.h"
|
| #include "base/memory/scoped_ptr.h"
|
| -#include "crypto/random.h"
|
| +#include "base/rand_util.h"
|
| #include "dart/runtime/include/dart_api.h"
|
| #include "mojo/dart/embedder/builtin.h"
|
| #include "mojo/dart/embedder/mojo_natives.h"
|
| @@ -324,7 +324,7 @@ void Crypto_GetRandomBytes(Dart_NativeArguments args) {
|
| intptr_t count = static_cast<intptr_t>(count64);
|
| scoped_ptr<uint8_t[]> buffer(new uint8_t[count]);
|
|
|
| - crypto::RandBytes(reinterpret_cast<void*>(buffer.get()), count);
|
| + base::RandBytes(reinterpret_cast<void*>(buffer.get()), count);
|
|
|
| Dart_Handle result = Dart_NewTypedData(Dart_TypedData_kUint8, count);
|
| if (Dart_IsError(result)) {
|
|
|