Index: test/cctest/test-global-object.cc |
diff --git a/test/cctest/test-global-object.cc b/test/cctest/test-global-object.cc |
index b0ed29daf1c1947b1f37c52ae940d086ffd00885..204164ab10dea82bb9918533a6518abd14c969be 100644 |
--- a/test/cctest/test-global-object.cc |
+++ b/test/cctest/test-global-object.cc |
@@ -37,7 +37,7 @@ TEST(StrictUndeclaredGlobalVariable) { |
HandleScope scope(CcTest::isolate()); |
v8::Local<v8::String> var_name = v8_str("x"); |
LocalContext context; |
- v8::TryCatch try_catch; |
+ v8::TryCatch try_catch(CcTest::isolate()); |
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> global = |