Index: test/BaseJsTest.h |
diff --git a/test/BaseJsTest.h b/test/BaseJsTest.h |
index 6c9ca00c881f1c5906e1a120bc9061b061ad598c..cbd627b3e3b6c37a5c69fbc35b1ef44396b66267 100644 |
--- a/test/BaseJsTest.h |
+++ b/test/BaseJsTest.h |
@@ -150,7 +150,7 @@ protected: |
jsEngine = CreateJsEngine(); |
jsEngine->SetLogSystem(AdblockPlus::LogSystemPtr(new ThrowingLogSystem)); |
jsEngine->SetFileSystem(AdblockPlus::FileSystemPtr(new ThrowingFileSystem)); |
- jsEngine->SetWebRequest(AdblockPlus::WebRequestPtr(new ThrowingWebRequest)); |
+ jsEngine->SetWebRequest(std::make_shared<ThrowingWebRequest>()); |
} |
}; |