diff --git a/test/addons/dlopen-ping-pong/binding.cc b/test/addons/dlopen-ping-pong/binding.cc index b35db4e708d..a3b9af1b809 100644 --- a/test/addons/dlopen-ping-pong/binding.cc +++ b/test/addons/dlopen-ping-pong/binding.cc @@ -23,7 +23,7 @@ typedef const char* (*ping)(void); static ping ping_func; void LoadLibrary(const FunctionCallbackInfo& args) { - const String::Utf8Value filename(args[0]); + const String::Utf8Value filename(args.GetIsolate(), args[0]); void* handle = dlopen(*filename, RTLD_LAZY); assert(handle != nullptr); ping_func = reinterpret_cast(dlsym(handle, "dlopen_ping"));