Index: include/AdblockPlus/JsEngine.h |
diff --git a/include/AdblockPlus/JsEngine.h b/include/AdblockPlus/JsEngine.h |
index bdea44394cec6d5af498afeccf2b021e79979163..2893752f6738d6d585a0b75c65d67d759d513b92 100644 |
--- a/include/AdblockPlus/JsEngine.h |
+++ b/include/AdblockPlus/JsEngine.h |
@@ -29,8 +29,6 @@ |
#include <AdblockPlus/JsValue.h> |
#include <AdblockPlus/WebRequest.h> |
-#include "V8ValueHolder.h" |
- |
namespace v8 |
{ |
class Arguments; |
@@ -224,7 +222,7 @@ namespace AdblockPlus |
WebRequestPtr webRequest; |
LogSystemPtr logSystem; |
v8::Isolate* isolate; |
- V8ValueHolder<v8::Context> context; |
+ std::unique_ptr<v8::Persistent<v8::Context>> context; |
EventMap eventCallbacks; |
JsValuePtr globalJsObject; |
}; |