Index: tools/lexer-shell.cc |
diff --git a/tools/lexer-shell.cc b/tools/lexer-shell.cc |
index 33f469fb9b4ada0430efe22236cd7f8a6de4457c..0610e7f70d22887114047fe32514c6038a22672e 100644 |
--- a/tools/lexer-shell.cc |
+++ b/tools/lexer-shell.cc |
@@ -245,7 +245,7 @@ int main(int argc, char* argv[]) { |
v8::Isolate* isolate = v8::Isolate::GetCurrent(); |
{ |
v8::HandleScope handle_scope(isolate); |
- v8::Handle<v8::ObjectTemplate> global = v8::ObjectTemplate::New(); |
+ v8::Handle<v8::ObjectTemplate> global = v8::ObjectTemplate::New(isolate); |
v8::Local<v8::Context> context = v8::Context::New(isolate, NULL, global); |
ASSERT(!context.IsEmpty()); |
{ |