Index: test/cctest/test-global-object.cc |
diff --git a/test/cctest/test-global-object.cc b/test/cctest/test-global-object.cc |
index bbec9df7750d9138fc9dd7fda72df713c2b84974..5fe77c2adf0feaca1d4b02c810329237b8dffebd 100644 |
--- a/test/cctest/test-global-object.cc |
+++ b/test/cctest/test-global-object.cc |
@@ -39,7 +39,7 @@ TEST(StrictUndeclaredGlobalVariable) { |
LocalContext context; |
v8::TryCatch try_catch; |
v8::Local<v8::Script> script = v8_compile("\"use strict\"; x = 42;"); |
- v8::Handle<v8::Object> proto = v8::Object::New(CcTest::isolate()); |
+ v8::Handle<v8::Object> proto = v8::Object::New(); |
v8::Handle<v8::Object> global = |
context->Global()->GetPrototype().As<v8::Object>(); |
proto->Set(var_name, v8_num(100)); |