Index: test/FilterEngine.cpp |
diff --git a/test/FilterEngine.cpp b/test/FilterEngine.cpp |
index 9c2facf0a9ad66b28b4c6f360a424e119ebfbe77..2689d81182cec6318b147f9b6c6968d606e750ed 100644 |
--- a/test/FilterEngine.cpp |
+++ b/test/FilterEngine.cpp |
@@ -85,7 +85,7 @@ namespace |
AdblockPlus::AppInfo appInfo; |
appInfo.name = "test"; |
appInfo.version = "1.0.1"; |
- AdblockPlus::JsEnginePtr jsEngine = AdblockPlus::JsEngine::New(appInfo); |
+ AdblockPlus::JsEnginePtr jsEngine = createJsEngine(appInfo); |
jsEngine->SetFileSystem(AdblockPlus::FileSystemPtr(new LazyFileSystem)); |
mockWebRequest = new MockWebRequest; |
jsEngine->SetWebRequest(AdblockPlus::WebRequestPtr(mockWebRequest)); |