Index: shell/src/Main.cpp |
=================================================================== |
--- a/shell/src/Main.cpp |
+++ b/shell/src/Main.cpp |
@@ -54,18 +54,19 @@ namespace |
} |
} |
int main() |
{ |
try |
{ |
LibFileReader fileReader; |
+ AdblockPlus::DefaultWebRequest webRequest; |
CerrErrorCallback errorCallback; |
- AdblockPlus::JsEngine jsEngine(&fileReader, 0, 0); |
+ AdblockPlus::JsEngine jsEngine(&fileReader, &webRequest, &errorCallback); |
AdblockPlus::FilterEngine filterEngine(jsEngine); |
CommandMap commands; |
Add(commands, new GcCommand(jsEngine)); |
Add(commands, new HelpCommand(commands)); |
Add(commands, new FiltersCommand(filterEngine)); |
Add(commands, new SubscriptionsCommand(filterEngine)); |
Add(commands, new MatchesCommand(filterEngine)); |