Index: samples/process.cc |
diff --git a/samples/process.cc b/samples/process.cc |
index 7e3f78fa75ff144502f4851aabd397fa1cf2faea..48ad33fdc78d64b85a0d11dc5d6e34c7f86f1fb0 100644 |
--- a/samples/process.cc |
+++ b/samples/process.cc |
@@ -162,7 +162,7 @@ bool JsHttpRequestProcessor::Initialize(map<string, string>* opts, |
// built-in global functions. |
Handle<ObjectTemplate> global = ObjectTemplate::New(); |
global->Set(String::NewFromUtf8(GetIsolate(), "log"), |
- FunctionTemplate::New(LogCallback)); |
+ FunctionTemplate::New(GetIsolate(), LogCallback)); |
// Each processor gets its own context so different processors don't |
// affect each other. Context::New returns a persistent handle which |