Index: test/Prefs.cpp |
diff --git a/test/Prefs.cpp b/test/Prefs.cpp |
index 515716207a3a2a844b89b0257c30e94e322a151f..61fba8ed0c215136e4bb2ff16d5aba27b97b1e2e 100644 |
--- a/test/Prefs.cpp |
+++ b/test/Prefs.cpp |
@@ -82,7 +82,7 @@ namespace |
jsEngine = CreateJsEngine(); |
jsEngine->SetLogSystem(AdblockPlus::LogSystemPtr(new LazyLogSystem)); |
jsEngine->SetFileSystem(fileSystemPtr); |
- jsEngine->SetWebRequest(AdblockPlus::WebRequestPtr(new LazyWebRequest)); |
+ jsEngine->SetWebRequest(std::make_shared<LazyWebRequest>()); |
} |
FilterEnginePtr CreateFilterEngine(const AdblockPlus::FilterEngine::Prefs& preconfiguredPrefs = |