Index: include/AdblockPlus/JsEngine.h |
diff --git a/include/AdblockPlus/JsEngine.h b/include/AdblockPlus/JsEngine.h |
index 9cf29a72b4ade7c210ef74d3284716f3d7fc6466..bf68c378d56e4e0dcc295e488c4502950dfce7a0 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; |
}; |