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

Unified Diff: shell/src/Main.cpp

Issue 29508555: Issue 5450 - move FilterEngine into Platform (Closed) Base URL: https://github.com/adblockplus/libadblockplus.git
Patch Set: Created Aug. 7, 2017, 8:28 a.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
Index: shell/src/Main.cpp
diff --git a/shell/src/Main.cpp b/shell/src/Main.cpp
index a792184902d0f1345f795eedd345f6abf7e25731..3049a42dfae6a9f8c2a607233dea070e87092835 100644
--- a/shell/src/Main.cpp
+++ b/shell/src/Main.cpp
@@ -66,7 +66,7 @@ int main()
AdblockPlus::Platform platform;
platform.SetUpJsEngine(appInfo);
AdblockPlus::JsEnginePtr jsEngine = platform.GetJsEngine();
- auto filterEngine = AdblockPlus::FilterEngine::Create(jsEngine);
+ auto filterEngine = platform.GetFilterEngine();
CommandMap commands;
Add(commands, new GcCommand(jsEngine));
« no previous file with comments | « include/AdblockPlus/Platform.h ('k') | src/FilterEngine.cpp » ('j') | test/BaseJsTest.h » ('J')

Powered by Google App Engine
This is Rietveld