Index: include/AdblockPlus/JsValue.h |
diff --git a/include/AdblockPlus/JsValue.h b/include/AdblockPlus/JsValue.h |
index 6b3f97c504d7bc11e4c0d186d7e44573ae1af507..c5e826b69f082e679e3a3bb964d6845a87a35824 100644 |
--- a/include/AdblockPlus/JsValue.h |
+++ b/include/AdblockPlus/JsValue.h |
@@ -28,7 +28,7 @@ namespace v8 |
class Value; |
template<class T> class Handle; |
template<class T> class Local; |
- template<class T> class Persistent; |
+ template<class T> class UniquePersistent; |
} |
namespace AdblockPlus |
@@ -130,7 +130,7 @@ namespace AdblockPlus |
private: |
JsValue(JsEnginePtr jsEngine, v8::Handle<v8::Value> value); |
void SetProperty(const std::string& name, v8::Handle<v8::Value> val); |
- std::unique_ptr<v8::Persistent<v8::Value>> value; |
+ std::unique_ptr<v8::UniquePersistent<v8::Value>> value; |
}; |
} |