Index: src/JsContext.cpp |
diff --git a/src/JsContext.cpp b/src/JsContext.cpp |
index 02858688b5d7be2c3bf3c313fef10a0671239d21..64c112c08f232ef720e5172d9490a4b2c68f8366 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)) |
{ |
} |