Index: src/api.cc |
diff --git a/src/api.cc b/src/api.cc |
index bf27217aab5b84950604d0b189d94c29380d826b..d1f6b78cc0c1d06b0d252071d8bf6c0a2573d5ee 100644 |
--- a/src/api.cc |
+++ b/src/api.cc |
@@ -62,6 +62,7 @@ |
#include "scanner-character-streams.h" |
#include "snapshot.h" |
#include "unicode-inl.h" |
+#include "utils/random-number-generator.h" |
#include "v8threads.h" |
#include "version.h" |
#include "vm-state-inl.h" |
@@ -5208,8 +5209,8 @@ bool v8::V8::Initialize() { |
} |
-void v8::V8::SetEntropySource(EntropySource source) { |
- i::V8::SetEntropySource(source); |
+void v8::V8::SetEntropySource(EntropySource entropy_source) { |
+ i::RandomNumberGenerator::SetEntropySource(entropy_source); |
} |