Index: src/JsContext.cpp |
diff --git a/src/JsContext.cpp b/src/JsContext.cpp |
index fcd86a6c25c1a0a4d408d71ace688d14ec36c646..aca3b318df84ba94aa153f3aeb71e1184e9f7398 100644 |
--- a/src/JsContext.cpp |
+++ b/src/JsContext.cpp |
@@ -20,6 +20,6 @@ |
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)) |
+ contextScope(v8::Local<v8::Context>::New(jsEngine->isolate, *jsEngine->context)) |
{ |
} |