Index: include/AdblockPlus/JsEngine.h |
=================================================================== |
--- a/include/AdblockPlus/JsEngine.h |
+++ b/include/AdblockPlus/JsEngine.h |
@@ -272,17 +272,17 @@ |
*/ |
void SetLogSystem(const LogSystemPtr& val); |
/** |
* Sets a global property that can be accessed by all the scripts. |
* @param name Name of the property to set. |
* @param value Value of the property to set. |
*/ |
- void SetGlobalProperty(const std::string& name, const AdblockPlus::JsValuePtr& value); |
+ void SetGlobalProperty(const std::string& name, const AdblockPlus::JsValue& value); |
/** |
* Returns a pointer to associated v8::Isolate. |
*/ |
v8::Isolate* GetIsolate() |
{ |
return isolate->Get(); |
} |
@@ -293,17 +293,17 @@ |
~TimerTask(); |
std::vector<std::unique_ptr<v8::Persistent<v8::Value>>> arguments; |
}; |
typedef std::list<TimerTask> TimerTasks; |
void CallTimerTask(const TimerTasks::const_iterator& timerTaskIterator); |
explicit JsEngine(const ScopedV8IsolatePtr& isolate, TimerPtr timer); |
- JsValuePtr GetGlobalObject(); |
+ JsValue GetGlobalObject(); |
/// Isolate must be disposed only after disposing of all objects which are |
/// using it. |
ScopedV8IsolatePtr isolate; |
FileSystemPtr fileSystem; |
WebRequestPtr webRequest; |
LogSystemPtr logSystem; |