Index: test/UpdateCheck.cpp |
diff --git a/test/UpdateCheck.cpp b/test/UpdateCheck.cpp |
index d85120f87050d068901e12434ea283156c16768c..3b28a6844fc11da03d8478b963430a067ff5feac 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); |