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)); |