| Index: sky/engine/web/Sky.cpp
|
| diff --git a/sky/engine/web/Sky.cpp b/sky/engine/web/Sky.cpp
|
| index 7b2eb1fc9ee206ae447b2b6768a6d3580b223461..5441aed79e0d1e91fe4aac5e01f82e37a8cc9128 100644
|
| --- a/sky/engine/web/Sky.cpp
|
| +++ b/sky/engine/web/Sky.cpp
|
| @@ -32,6 +32,7 @@
|
| #include "public/web/Sky.h"
|
|
|
| #include "base/message_loop/message_loop.h"
|
| +#include "base/rand_util.h"
|
| #include "bindings/core/v8/V8Binding.h"
|
| #include "bindings/core/v8/V8GCController.h"
|
| #include "bindings/core/v8/V8Initializer.h"
|
| @@ -145,7 +146,7 @@ static double monotonicallyIncreasingTimeFunction()
|
|
|
| static void cryptographicallyRandomValues(unsigned char* buffer, size_t length)
|
| {
|
| - Platform::current()->cryptographicallyRandomValues(buffer, length);
|
| + base::RandBytes(buffer, length);
|
| }
|
|
|
| static void callOnMainThreadFunction(WTF::MainThreadFunction function, void* context)
|
|
|