Index: include/AdblockPlus/JsEngine.h |
=================================================================== |
--- a/include/AdblockPlus/JsEngine.h |
+++ b/include/AdblockPlus/JsEngine.h |
@@ -187,17 +187,17 @@ |
/** |
* Creates a JavaScript function that invokes a C++ callback. |
* @param callback C++ callback to invoke. The callback receives a |
* `v8::Arguments` object and can use `FromArguments()` to retrieve |
* the current `JsEngine`. |
* @return New `JsValue` instance. |
*/ |
- JsValuePtr NewCallback(const v8::InvocationCallback& callback); |
+ JsValue NewCallback(const v8::InvocationCallback& callback); |
/** |
* Returns a `JsEngine` instance contained in a `v8::Arguments` object. |
* Use this in callbacks created via `NewCallback()` to retrieve the current |
* `JsEngine`. |
* @param arguments `v8::Arguments` object containing the `JsEngine` |
* instance. |
* @return `JsEngine` instance from `v8::Arguments`. |