Index: media/blink/run_all_unittests.cc |
diff --git a/media/blink/run_all_unittests.cc b/media/blink/run_all_unittests.cc |
index d84a1af06f15510ba62340eb25a07dba4f5985f6..684d3ac4d560905bbc2023ad5e1a1578a88a0fcb 100644 |
--- a/media/blink/run_all_unittests.cc |
+++ b/media/blink/run_all_unittests.cc |
@@ -4,6 +4,7 @@ |
#include "base/bind.h" |
#include "base/message_loop/message_loop.h" |
+#include "base/rand_util.h" |
#include "base/test/launcher/unit_test_launcher.h" |
#include "base/test/test_suite.h" |
#include "build/build_config.h" |
@@ -82,6 +83,7 @@ TestBlinkPlatformSupport::~TestBlinkPlatformSupport() {} |
void TestBlinkPlatformSupport::cryptographicallyRandomValues( |
unsigned char* buffer, |
size_t length) { |
+ base::RandBytes(buffer, length); |
} |
const unsigned char* TestBlinkPlatformSupport::getTraceCategoryEnabledFlag( |