Index: src/v8.cc |
diff --git a/src/v8.cc b/src/v8.cc |
index 8153372fbbafb1dde15f8cfc687da6a117f00bad..4c3f733e8c702aac1604195741ef864c95767095 100644 |
--- a/src/v8.cc |
+++ b/src/v8.cc |
@@ -171,8 +171,8 @@ typedef union { |
} double_int_union; |
-Object* V8::FillHeapNumberWithRandom(Object* heap_number) { |
- uint64_t random_bits = Random(Isolate::Current()); |
+Object* V8::FillHeapNumberWithRandom(Object* heap_number, Isolate* isolate) { |
+ uint64_t random_bits = Random(isolate); |
// Make a double* from address (heap_number + sizeof(double)). |
double_int_union* r = reinterpret_cast<double_int_union*>( |
reinterpret_cast<char*>(heap_number) + |