Index: test/cctest/test-decls.cc |
diff --git a/test/cctest/test-decls.cc b/test/cctest/test-decls.cc |
index de27286dac2deeaea5efc90ec606decf94681fd6..1d09f9cb575c1830dcc72db639d0dc49e77ad527 100644 |
--- a/test/cctest/test-decls.cc |
+++ b/test/cctest/test-decls.cc |
@@ -119,7 +119,7 @@ void DeclarationContext::InitializeIfNeeded() { |
Isolate* isolate = CcTest::isolate(); |
HandleScope scope(isolate); |
Local<FunctionTemplate> function = FunctionTemplate::New(); |
- Local<Value> data = External::New(this); |
+ Local<Value> data = External::New(CcTest::isolate(), this); |
GetHolder(function)->SetNamedPropertyHandler(&HandleGet, |
&HandleSet, |
&HandleQuery, |