Index: libadblockplus-android/src/org/adblockplus/libadblockplus/android/AdblockEngine.java |
diff --git a/libadblockplus-android/src/org/adblockplus/libadblockplus/android/AdblockEngine.java b/libadblockplus-android/src/org/adblockplus/libadblockplus/android/AdblockEngine.java |
index e8aef2ce151036a26d041130c013b1aa3bc287b7..58adb1822d25be06016938eb5cd3f339cda968a2 100644 |
--- a/libadblockplus-android/src/org/adblockplus/libadblockplus/android/AdblockEngine.java |
+++ b/libadblockplus-android/src/org/adblockplus/libadblockplus/android/AdblockEngine.java |
@@ -254,11 +254,9 @@ public final class AdblockEngine |
private void createEngines() |
{ |
engine.logSystem = new AndroidLogSystem(); |
- engine.jsEngine = new JsEngine(appInfo, engine.logSystem); |
+ engine.jsEngine = new JsEngine(appInfo, engine.logSystem, engine.webRequest); |
engine.jsEngine.setDefaultFileSystem(basePath); |
- engine.jsEngine.setWebRequest(engine.webRequest); |
- |
engine.filterEngine = new FilterEngine(engine.jsEngine, isAllowedConnectionCallback); |
} |
} |