Index: samples/lineprocessor.cc |
diff --git a/samples/lineprocessor.cc b/samples/lineprocessor.cc |
index 4823a48344327a53b7f60f47249b0f99c695d39a..1d6a3bdba699dd32260c4a5e9a54b59f1e17bb68 100644 |
--- a/samples/lineprocessor.cc |
+++ b/samples/lineprocessor.cc |
@@ -200,7 +200,7 @@ int RunMain(int argc, char* argv[]) { |
} |
// Create a template for the global object. |
- v8::Handle<v8::ObjectTemplate> global = v8::ObjectTemplate::New(); |
+ v8::Handle<v8::ObjectTemplate> global = v8::ObjectTemplate::New(isolate); |
// Bind the global 'print' function to the C++ Print callback. |
global->Set(v8::String::NewFromUtf8(isolate, "print"), |