Index: src/v8.h |
diff --git a/src/v8.h b/src/v8.h |
index 8069e8adda2106b1749ae4b7f118210b4917a058..6f2633aa86522595f7a580b4af1197281dc1d9d3 100644 |
--- a/src/v8.h |
+++ b/src/v8.h |
@@ -96,6 +96,8 @@ class V8 : public AllStatic { |
ReturnAddressLocationResolver resolver); |
// Support for entry hooking JITed code. |
static void SetFunctionEntryHook(FunctionEntryHook entry_hook); |
+ // Random number generation support. Not cryptographically safe. |
+ static uint32_t Random(Context* context); |
static void AddCallCompletedCallback(CallCompletedCallback callback); |
static void RemoveCallCompletedCallback(CallCompletedCallback callback); |