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

Unified Diff: test/Notification.cpp

Issue 29377064: Issue 4944 - Make creation of FilterEngine asynchronous. (Closed)
Patch Set: rebase and address comments Created March 16, 2017, 3:47 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/FilterEngine.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 0baa2089c5742bb9d1b01898c1742eaf9d3eeb9a..c714fb24a91b64bb9406db9141afb40dbc10a0f0 100644
--- a/test/Notification.cpp
+++ b/test/Notification.cpp
@@ -37,7 +37,7 @@ namespace
jsEngine->SetFileSystem(FileSystemPtr(new LazyFileSystem()));
jsEngine->SetWebRequest(WebRequestPtr(new LazyWebRequest()));
jsEngine->SetLogSystem(LogSystemPtr(new DefaultLogSystem()));
- filterEngine.reset(new FilterEngine(jsEngine));
+ filterEngine = FilterEngine::Create(jsEngine);
}
void AddNotification(const std::string& notification)
« no previous file with comments | « test/FilterEngine.cpp ('k') | test/Prefs.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld