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

Unified Diff: test/BaseJsTest.cpp

Issue 29449592: Issue 5183 - Provide async interface for FileSystem (Closed) Base URL: https://hg.adblockplus.org/libadblockplus/
Patch Set: Rebase on master. Last changes. Created July 7, 2017, 1:36 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/BaseJsTest.h ('k') | test/DefaultFileSystem.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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;
}
« no previous file with comments | « test/BaseJsTest.h ('k') | test/DefaultFileSystem.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld