Index: include/AdblockPlus/JsValue.h |
diff --git a/include/AdblockPlus/JsValue.h b/include/AdblockPlus/JsValue.h |
index 51c52b5fc53b3b55d6177422f87b7ed3d07caa95..d8969901c35ba1fac6fe15df951a43f5dbaf99c2 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; |
}; |
} |