Index: test/cctest/test-compiler.cc |
diff --git a/test/cctest/test-compiler.cc b/test/cctest/test-compiler.cc |
index a0836c342641370306dd0acce543ca4f23687b6d..4bedbb9b513185d5e011d6ca1f5a12d706f70caa 100644 |
--- a/test/cctest/test-compiler.cc |
+++ b/test/cctest/test-compiler.cc |
@@ -60,7 +60,7 @@ const char* PrintExtension::kSource = "native function print();"; |
v8::Handle<v8::FunctionTemplate> PrintExtension::GetNativeFunctionTemplate( |
v8::Isolate* isolate, |
v8::Handle<v8::String> str) { |
- return v8::FunctionTemplate::New(PrintExtension::Print); |
+ return v8::FunctionTemplate::New(isolate, PrintExtension::Print); |
} |