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

Unified Diff: src/FilterEngine.cpp

Issue 29508555: Issue 5450 - move FilterEngine into Platform (Closed) Base URL: https://github.com/adblockplus/libadblockplus.git
Patch Set: fix typos Created Aug. 7, 2017, 1:03 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 | « shell/src/Main.cpp ('k') | src/Platform.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/FilterEngine.cpp
diff --git a/src/FilterEngine.cpp b/src/FilterEngine.cpp
index 7f80eaae40874646a8b8041be9363495923df2b1..06e126235e141f63ac71f2a6a50b8499b2db8ec9 100644
--- a/src/FilterEngine.cpp
+++ b/src/FilterEngine.cpp
@@ -259,20 +259,6 @@ void FilterEngine::CreateAsync(const JsEnginePtr& jsEngine,
jsEngine->Evaluate(jsSources[i + 1], jsSources[i]);
}
-FilterEnginePtr FilterEngine::Create(const JsEnginePtr& jsEngine,
- const FilterEngine::CreationParameters& params)
-{
- FilterEnginePtr retValue;
- Sync sync;
- CreateAsync(jsEngine, [&retValue, &sync](const FilterEnginePtr& filterEngine)
- {
- retValue = filterEngine;
- sync.Set();
- }, params);
- sync.Wait();
- return retValue;
-}
-
namespace
{
typedef std::map<FilterEngine::ContentType, std::string> ContentTypeMap;
« no previous file with comments | « shell/src/Main.cpp ('k') | src/Platform.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld