| Index: include/AdblockPlus/JsValue.h |
| =================================================================== |
| --- a/include/AdblockPlus/JsValue.h |
| +++ b/include/AdblockPlus/JsValue.h |
| @@ -120,17 +120,17 @@ |
| /** |
| * Invokes the value as a function (see `IsFunction()`). |
| * @param params Optional list of parameters. |
| * @param thisPtr Optional `this` value. |
| * @return Value returned by the function. |
| */ |
| JsValue Call(const JsConstValueList& params = JsConstValueList(), |
| - AdblockPlus::JsValuePtr thisPtr = AdblockPlus::JsValuePtr()) const; |
| + const AdblockPlus::JsValuePtr& thisPtr = AdblockPlus::JsValuePtr()) const; |
| /** |
| * Invokes the value as a function (see `IsFunction()`) with single |
| * parameter. |
| * @param arg A single required parameter. |
| * @return Value returned by the function. |
| */ |
| JsValue Call(const JsValue& arg) const; |