Index: src/JsContext.cpp |
=================================================================== |
--- a/src/JsContext.cpp |
+++ b/src/JsContext.cpp |
@@ -17,10 +17,10 @@ |
#include "JsContext.h" |
-AdblockPlus::JsContext::JsContext(JsEngine& jsEngine) |
+template <> AdblockPlus::JsContextTemplate<JsEngineNamespaceImpl>::JsContextTemplate(JsEngine& jsEngine) |
: locker(jsEngine.GetIsolate()), isolateScope(jsEngine.GetIsolate()), |
handleScope(jsEngine.GetIsolate()), |
- context(v8::Local<v8::Context>::New(jsEngine.GetIsolate(), *jsEngine.context)), |
+ context(JsEngineNamespaceImpl::LocalContext::New(jsEngine.GetIsolate(), *jsEngine.context)), |
contextScope(context) |
{ |
} |