Index: include/AdblockPlus/JsEngine.h |
diff --git a/include/AdblockPlus/JsEngine.h b/include/AdblockPlus/JsEngine.h |
index af168f1886a21cdbf8bfd1c6e87087f0372b9a75..a28f5c1362ce9dd3948517f3c4a6d168a072e315 100644 |
--- a/include/AdblockPlus/JsEngine.h |
+++ b/include/AdblockPlus/JsEngine.h |
@@ -30,7 +30,6 @@ |
#include <AdblockPlus/WebRequest.h> |
#include "tr1_memory.h" |
-#include "V8ValueHolder.h" |
namespace v8 |
{ |
@@ -225,7 +224,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; |
}; |