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;\ |