Index: src/api.cc |
diff --git a/src/api.cc b/src/api.cc |
index 9986df8bf2dd399a8ed836af7b6b353a5221d59c..4f16120df33ddbb4d096c4a3a33820b911986833 100644 |
--- a/src/api.cc |
+++ b/src/api.cc |
@@ -1198,8 +1198,9 @@ void FunctionTemplate::RemovePrototype() { |
// --- O b j e c t T e m p l a t e --- |
-Local<ObjectTemplate> ObjectTemplate::New(Isolate* isolate) { |
- return New(reinterpret_cast<i::Isolate*>(isolate), Local<FunctionTemplate>()); |
+Local<ObjectTemplate> ObjectTemplate::New( |
+ Isolate* isolate, v8::Handle<FunctionTemplate> constructor) { |
+ return New(reinterpret_cast<i::Isolate*>(isolate), constructor); |
} |