Index: test/BaseJsTest.cpp |
=================================================================== |
--- a/test/BaseJsTest.cpp |
+++ b/test/BaseJsTest.cpp |
@@ -39,13 +39,13 @@ |
, fileSystem(std::make_shared<ThrowingFileSystem>()) |
{ |
} |
AdblockPlus::JsEnginePtr CreateJsEngine(JsEngineCreationParameters&& jsEngineCreationParameters) |
{ |
auto jsEngine = AdblockPlus::JsEngine::New(jsEngineCreationParameters.appInfo, |
std::move(jsEngineCreationParameters.timer), |
+ std::move(jsEngineCreationParameters.fileSystem), |
std::move(jsEngineCreationParameters.webRequest)); |
jsEngine->SetLogSystem(std::move(jsEngineCreationParameters.logSystem)); |
- jsEngine->SetFileSystem(std::move(jsEngineCreationParameters.fileSystem)); |
return jsEngine; |
} |