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

Unified Diff: test/UpdateCheck.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/Prefs.cpp ('k') | test/WebRequest.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/UpdateCheck.cpp
diff --git a/test/UpdateCheck.cpp b/test/UpdateCheck.cpp
index 41983c2848433a9b7b423597fd04104b5a99b8ec..7d5fe13b3301f724c4325938955475c4f970e3d7 100644
--- a/test/UpdateCheck.cpp
+++ b/test/UpdateCheck.cpp
@@ -77,7 +77,7 @@ namespace
jsEngine->SetEventCallback("updateAvailable",
std::bind(&UpdateCheckTest::EventCallback, this, std::placeholders::_1));
- filterEngine.reset(new AdblockPlus::FilterEngine(jsEngine));
+ filterEngine = AdblockPlus::FilterEngine::Create(jsEngine);
}
void ForceUpdateCheck()
« no previous file with comments | « test/Prefs.cpp ('k') | test/WebRequest.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld