Index: test/UpdateCheck.cpp |
=================================================================== |
--- a/test/UpdateCheck.cpp |
+++ b/test/UpdateCheck.cpp |
@@ -49,17 +49,17 @@ |
protected: |
AdblockPlus::AppInfo appInfo; |
TestWebRequest* webRequest; |
AdblockPlus::WebRequestPtr webRequestPtr; |
AdblockPlus::JsEnginePtr jsEngine; |
FilterEnginePtr filterEngine; |
bool eventCallbackCalled; |
- AdblockPlus::JsValueList eventCallbackParams; |
+ AdblockPlus::JsConstValueList eventCallbackParams; |
bool updateCallbackCalled; |
std::string updateError; |
void SetUp() |
{ |
webRequest = new TestWebRequest(); |
webRequestPtr.reset(webRequest); |
@@ -81,17 +81,17 @@ |
} |
void ForceUpdateCheck() |
{ |
filterEngine->ForceUpdateCheck( |
std::bind(&UpdateCheckTest::UpdateCallback, this, std::placeholders::_1)); |
} |
- void EventCallback(const AdblockPlus::JsValueList& params) |
+ void EventCallback(const AdblockPlus::JsConstValueList& params) |
{ |
eventCallbackCalled = true; |
eventCallbackParams = params; |
} |
void UpdateCallback(const std::string& error) |
{ |
updateCallbackCalled = true; |