| Index: src/FileSystemJsObject.cpp |
| =================================================================== |
| --- a/src/FileSystemJsObject.cpp |
| +++ b/src/FileSystemJsObject.cpp |
| @@ -129,7 +129,7 @@ |
| auto processFunc = jsValues[0].UnwrapValue().As<v8::Function>(); |
| - auto globalContext = context.GetV8Context()->Global(); |
| + auto globalContext = context.GetJSEngineContext()->Global(); |
| if (!globalContext->IsObject()) |
| throw std::runtime_error("`this` pointer has to be an object"); |