Index: test/cctest/test-mark-compact.cc |
diff --git a/test/cctest/test-mark-compact.cc b/test/cctest/test-mark-compact.cc |
index 21700f7df5a7c3a851eb7475657d99af727226a9..33d9230e01763b35f8841f395b3f8db2dd72913e 100644 |
--- a/test/cctest/test-mark-compact.cc |
+++ b/test/cctest/test-mark-compact.cc |
@@ -572,7 +572,7 @@ intptr_t ShortLivingIsolate() { |
v8::Isolate* isolate = v8::Isolate::New(); |
{ v8::Isolate::Scope isolate_scope(isolate); |
v8::Locker lock(isolate); |
- v8::HandleScope handle_scope; |
+ v8::HandleScope handle_scope(isolate); |
v8::Local<v8::Context> context = v8::Context::New(isolate); |
CHECK(!context.IsEmpty()); |
} |