mod_v8: Minor tweaks to keep up with recent V8 API changes

This commit is contained in:
Peter Olsson committed 2014-02-20 17:34:27 +01:00
1 parent bd72cd9cc1
commit c679d98eb7
7 files changed
+21 -21

No files matched your search

+1 -1
View File
@@ -565,7 +565,7 @@ static int v8_parse_and_execute(switch_core_session_t *session, const char *inpu
TryCatch try_catch;
// Compile the source code.
Handle<Script> v8_script = Script::Compile(source, Handle<Value>::New(isolate, String::NewFromUtf8(isolate, script_file)));
Handle<Script> v8_script = Script::Compile(source, Local<Value>::New(isolate, String::NewFromUtf8(isolate, script_file)));
if (try_catch.HasCaught()) {
v8_error(isolate, &try_catch);