Index: test/cctest/test-heap.cc |
diff --git a/test/cctest/test-heap.cc b/test/cctest/test-heap.cc |
index 95e22d4d042963e386d77d8831e2a07ff48a5a9b..64075d26b4367bf17939c26c972b98bc2c868549 100644 |
--- a/test/cctest/test-heap.cc |
+++ b/test/cctest/test-heap.cc |
@@ -3422,7 +3422,7 @@ TEST(DeferredHandles) { |
CcTest::InitializeVM(); |
Isolate* isolate = Isolate::Current(); |
Heap* heap = isolate->heap(); |
- v8::HandleScope scope; |
+ v8::HandleScope scope(reinterpret_cast<v8::Isolate*>(isolate)); |
v8::ImplementationUtilities::HandleScopeData* data = |
isolate->handle_scope_data(); |
Handle<Object> init(heap->empty_string(), isolate); |