Index: components/html_viewer/blink_platform_impl.cc |
diff --git a/components/html_viewer/blink_platform_impl.cc b/components/html_viewer/blink_platform_impl.cc |
index 1f578ab384d6169088f32e3a704e1e29470b3ab6..9a572b839390bbfa73cc6a4d210f9834fd00b7eb 100644 |
--- a/components/html_viewer/blink_platform_impl.cc |
+++ b/components/html_viewer/blink_platform_impl.cc |
@@ -7,7 +7,6 @@ |
#include <cmath> |
#include "base/command_line.h" |
-#include "base/rand_util.h" |
#include "base/stl_util.h" |
#include "base/synchronization/waitable_event.h" |
#include "base/thread_task_runner_handle.h" |
@@ -26,6 +25,7 @@ |
#include "components/scheduler/child/webthread_impl_for_worker_scheduler.h" |
#include "components/scheduler/renderer/renderer_scheduler.h" |
#include "components/scheduler/renderer/webthread_impl_for_renderer_scheduler.h" |
+#include "crypto/random.h" |
#include "mojo/application/public/cpp/application_impl.h" |
#include "mojo/application/public/cpp/connect.h" |
#include "mojo/common/user_agent.h" |
@@ -135,7 +135,7 @@ double BlinkPlatformImpl::monotonicallyIncreasingTime() { |
void BlinkPlatformImpl::cryptographicallyRandomValues(unsigned char* buffer, |
size_t length) { |
- base::RandBytes(buffer, length); |
+ crypto::RandBytes(buffer, length); |
} |
bool BlinkPlatformImpl::isThreadedCompositingEnabled() { |