Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code

Unified Diff: test/Notification.cpp

Issue 29428624: Issue 5180 - stop using of WebRequestPtr in tests (Closed) Base URL: https://github.com/adblockplus/libadblockplus.git
Patch Set: Created May 3, 2017, 2:07 p.m.
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « test/JsEngine.cpp ('k') | test/Prefs.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/Notification.cpp
diff --git a/test/Notification.cpp b/test/Notification.cpp
index d8eae7ad8c86a57aded7f380c028de2806379db6..8fa1facf5638ecb663a51506a17bd7c2f022b878 100644
--- a/test/Notification.cpp
+++ b/test/Notification.cpp
@@ -35,7 +35,7 @@ namespace
{
BaseJsTest::SetUp();
jsEngine->SetFileSystem(FileSystemPtr(new LazyFileSystem()));
- jsEngine->SetWebRequest(WebRequestPtr(new LazyWebRequest()));
+ jsEngine->SetWebRequest(std::make_shared<LazyWebRequest>());
jsEngine->SetLogSystem(LogSystemPtr(new DefaultLogSystem()));
filterEngine = FilterEngine::Create(jsEngine);
}
« no previous file with comments | « test/JsEngine.cpp ('k') | test/Prefs.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld