Index: include/AdblockPlus/JsEngine.h |
=================================================================== |
--- 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 |
{ |
@@ -218,7 +217,7 @@ |
WebRequestPtr webRequest; |
LogSystemPtr logSystem; |
v8::Isolate* isolate; |
- V8ValueHolder<v8::Context> context; |
+ std::unique_ptr<v8::Persistent<v8::Context>> context; |
EventMap eventCallbacks; |
}; |
} |