Index: test/UpdateCheck.cpp |
diff --git a/test/UpdateCheck.cpp b/test/UpdateCheck.cpp |
index a2ade037aa813ee28626840fb541108cc517646e..42e5dacc036aee77836d2b38faef30bb142941cd 100644 |
--- a/test/UpdateCheck.cpp |
+++ b/test/UpdateCheck.cpp |
@@ -70,7 +70,7 @@ namespace |
void Reset() |
{ |
- jsEngine = AdblockPlus::JsEngine::New(appInfo); |
+ jsEngine = createJsEngine(appInfo); |
jsEngine->SetLogSystem(AdblockPlus::LogSystemPtr(new LazyLogSystem)); |
jsEngine->SetFileSystem(AdblockPlus::FileSystemPtr(new LazyFileSystem)); |
jsEngine->SetWebRequest(webRequestPtr); |