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

Unified Diff: src/JsEngine.cpp

Issue 29498586: Issue 4832 - remove API allowing changing of FileSystem after Initialization of JsEngine (Closed) Base URL: https://github.com/adblockplus/libadblockplus.git
Patch Set: Created July 26, 2017, 2:46 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 | « include/AdblockPlus/JsEngine.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/JsEngine.cpp
diff --git a/src/JsEngine.cpp b/src/JsEngine.cpp
index 315f7ecf58a743597e079068b6b21337c7eb08ef..d1ce0c362c70fa3459421f7f08ef3d2cf327ef5b 100644
--- a/src/JsEngine.cpp
+++ b/src/JsEngine.cpp
@@ -331,14 +331,6 @@ AdblockPlus::FileSystemPtr AdblockPlus::JsEngine::GetAsyncFileSystem() const
return fileSystem;
}
-void AdblockPlus::JsEngine::SetFileSystem(const AdblockPlus::FileSystemSyncPtr& val)
-{
- if (!val)
- throw std::runtime_error("FileSystem cannot be null");
-
- fileSystem.reset(new DefaultFileSystem(val));
-}
-
AdblockPlus::LogSystem& AdblockPlus::JsEngine::GetLogSystem()
{
return *logSystem;
« no previous file with comments | « include/AdblockPlus/JsEngine.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld