Index: test/cctest/test-object-observe.cc |
diff --git a/test/cctest/test-object-observe.cc b/test/cctest/test-object-observe.cc |
index 8e927b0b4f1d8ad06776af4cf5b8b60156f148e5..0a30d4e275b8e96864076234e5c0890c954b25db 100644 |
--- a/test/cctest/test-object-observe.cc |
+++ b/test/cctest/test-object-observe.cc |
@@ -517,7 +517,7 @@ static Handle<Object> CreateAccessCheckedObject( |
NamedSecurityCallback namedCallback, |
IndexedSecurityCallback indexedCallback, |
Handle<Value> data = Handle<Value>()) { |
- Handle<ObjectTemplate> tmpl = ObjectTemplate::New(); |
+ Handle<ObjectTemplate> tmpl = ObjectTemplate::New(isolate); |
tmpl->SetAccessCheckCallbacks(namedCallback, indexedCallback, data); |
Handle<Object> instance = tmpl->NewInstance(); |
Handle<Object> global = instance->CreationContext()->Global(); |