Index: src/extensions/externalize-string-extension.cc |
diff --git a/src/extensions/externalize-string-extension.cc b/src/extensions/externalize-string-extension.cc |
index edc7dd8052ccb99eaff1cce626c99518dc573ef1..7dc7a3caeed11e8933ec1ea7158ec87328bac664 100644 |
--- a/src/extensions/externalize-string-extension.cc |
+++ b/src/extensions/externalize-string-extension.cc |
@@ -64,10 +64,12 @@ v8::Handle<v8::FunctionTemplate> |
ExternalizeStringExtension::GetNativeFunctionTemplate( |
v8::Isolate* isolate, v8::Handle<v8::String> str) { |
if (strcmp(*v8::String::Utf8Value(str), "externalizeString") == 0) { |
- return v8::FunctionTemplate::New(ExternalizeStringExtension::Externalize); |
+ return v8::FunctionTemplate::New(isolate, |
+ ExternalizeStringExtension::Externalize); |
} else { |
ASSERT(strcmp(*v8::String::Utf8Value(str), "isAsciiString") == 0); |
- return v8::FunctionTemplate::New(ExternalizeStringExtension::IsAscii); |
+ return v8::FunctionTemplate::New(isolate, |
+ ExternalizeStringExtension::IsAscii); |
} |
} |