Index: test/Prefs.cpp |
diff --git a/test/Prefs.cpp b/test/Prefs.cpp |
index 0dab0645290c30191a8d53a41b5b6bee2e3c51b5..d6525d4c0dc384c58d2ea38f580eb0e0364ace7a 100644 |
--- a/test/Prefs.cpp |
+++ b/test/Prefs.cpp |
@@ -81,7 +81,7 @@ namespace |
void Reset(const AdblockPlus::FilterEngine::Prefs& preconfiguredPrefs = |
AdblockPlus::FilterEngine::Prefs()) |
{ |
- jsEngine = AdblockPlus::JsEngine::New(); |
+ jsEngine = createJsEngine(); |
jsEngine->SetLogSystem(AdblockPlus::LogSystemPtr(new LazyLogSystem)); |
jsEngine->SetFileSystem(fileSystemPtr); |
jsEngine->SetWebRequest(AdblockPlus::WebRequestPtr(new LazyWebRequest)); |