Index: src/JsContext.cpp |
diff --git a/src/JsContext.cpp b/src/JsContext.cpp |
index aca3b318df84ba94aa153f3aeb71e1184e9f7398..dd8faf6ff4b8c765a18831ebd5dee6d377db7bef 100644 |
--- a/src/JsContext.cpp |
+++ b/src/JsContext.cpp |
@@ -18,8 +18,8 @@ |
#include "JsContext.h" |
AdblockPlus::JsContext::JsContext(const JsEnginePtr jsEngine) |
- : locker(jsEngine->isolate), isolateScope(jsEngine->isolate), |
- handleScope(jsEngine->isolate), |
- contextScope(v8::Local<v8::Context>::New(jsEngine->isolate, *jsEngine->context)) |
+ : locker(jsEngine->GetIsolate()), isolateScope(jsEngine->GetIsolate()), |
+ handleScope(jsEngine->GetIsolate()), |
+ contextScope(v8::Local<v8::Context>::New(jsEngine->GetIsolate(), *jsEngine->context)) |
{ |
} |