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