Index: test/WebRequest.cpp |
=================================================================== |
--- a/test/WebRequest.cpp |
+++ b/test/WebRequest.cpp |
@@ -43,8 +43,8 @@ |
void SetUp() |
{ |
BaseJsTest::SetUp(); |
- jsEngine->SetWebRequest(AdblockPlus::WebRequestPtr(new T)); |
- jsEngine->SetFileSystem(AdblockPlus::FileSystemPtr(new LazyFileSystem)); |
+ jsEngine->SetWebRequest(std::make_shared<T>()); |
+ jsEngine->SetFileSystem(std::make_shared<LazyFileSystem>()); |
} |
}; |