Index: test/Prefs.cpp |
diff --git a/test/Prefs.cpp b/test/Prefs.cpp |
index 0dab0645290c30191a8d53a41b5b6bee2e3c51b5..ce217979fe96b6e9692df5682bfc8e6140493e7c 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)); |