Index: src/v8.h |
diff --git a/src/v8.h b/src/v8.h |
index 2e039d429fa16b2b4a0200dc0f68ad6fcea31890..01feefce6ff3f475a1ca35e4c540eda11f485c30 100644 |
--- a/src/v8.h |
+++ b/src/v8.h |
@@ -96,14 +96,14 @@ class V8 : public AllStatic { |
// generation. |
static void SetEntropySource(EntropySource source); |
// Random number generation support. Not cryptographically safe. |
- static uint32_t Random(Isolate* isolate); |
+ static uint32_t Random(Context* context); |
// We use random numbers internally in memory allocation and in the |
// compilers for security. In order to prevent information leaks we |
// use a separate random state for internal random number |
// generation. |
static uint32_t RandomPrivate(Isolate* isolate); |
static Object* FillHeapNumberWithRandom(Object* heap_number, |
- Isolate* isolate); |
+ Context* context); |
// Idle notification directly from the API. |
static bool IdleNotification(); |