Index: test/WebRequest.cpp |
diff --git a/test/WebRequest.cpp b/test/WebRequest.cpp |
index fb51e884796fbe86a0c13b59255ac8a98025e90a..cd14e207ff1a5b1d91969a378e8979d56653afe7 100644 |
--- a/test/WebRequest.cpp |
+++ b/test/WebRequest.cpp |
@@ -190,7 +190,7 @@ TEST_F(DefaultWebRequestTest, RealWebRequest) |
TEST_F(DefaultWebRequestTest, XMLHttpRequest) |
{ |
- auto filterEngine = CreateFilterEngine(*fileSystem, jsEngine); |
+ auto filterEngine = CreateFilterEngine(*fileSystem, *platform); |
ResetTestXHR(jsEngine, "https://easylist-downloads.adblockplus.org/easylist.txt"); |
jsEngine->Evaluate("\ |
@@ -220,7 +220,7 @@ TEST_F(DefaultWebRequestTest, DummyWebRequest) |
TEST_F(DefaultWebRequestTest, XMLHttpRequest) |
{ |
- auto filterEngine = CreateFilterEngine(*fileSystem, jsEngine); |
+ auto filterEngine = CreateFilterEngine(*fileSystem, *platform); |
ResetTestXHR(jsEngine); |
jsEngine->Evaluate("\ |
@@ -276,7 +276,7 @@ namespace |
TEST_F(MockWebRequestAndLogSystemTest, RequestHeaderValidation) |
{ |
- auto filterEngine = CreateFilterEngine(*fileSystem, jsEngine); |
+ auto filterEngine = CreateFilterEngine(*fileSystem, *platform); |
const std::string msg = "Attempt to set a forbidden header was denied: "; |