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

Unified Diff: test/WebRequest.cpp

Issue 29377064: Issue 4944 - Make creation of FilterEngine asynchronous. (Closed)
Patch Set: Created Feb. 28, 2017, 2:21 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
« include/AdblockPlus/FilterEngine.h ('K') | « test/UpdateCheck.cpp ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/WebRequest.cpp
diff --git a/test/WebRequest.cpp b/test/WebRequest.cpp
index 4a262f1273d443334ee281886b9eeac49f09b670..46d6614ef3d340634ac94ae6c1e4b0ec356e8c3b 100644
--- a/test/WebRequest.cpp
+++ b/test/WebRequest.cpp
@@ -94,7 +94,7 @@ TEST_F(DefaultWebRequestTest, RealWebRequest)
TEST_F(DefaultWebRequestTest, XMLHttpRequest)
{
- AdblockPlus::FilterEngine filterEngine(jsEngine);
+ auto filterEngine = AdblockPlus::FilterEngine::Create(jsEngine);
jsEngine->Evaluate("\
var result;\
« include/AdblockPlus/FilterEngine.h ('K') | « test/UpdateCheck.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld