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

Unified Diff: libadblockplus-android/src/org/adblockplus/libadblockplus/android/AdblockEngine.java

Issue 29526696: Issue 5556 - remove WebRequest setter (Closed) Base URL: github.com:abby-sergz/libadblockplus-android.git
Patch Set: Created Aug. 24, 2017, 5:24 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 | « libadblockplus-android/src/org/adblockplus/libadblockplus/JsEngine.java ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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);
}
}
« no previous file with comments | « libadblockplus-android/src/org/adblockplus/libadblockplus/JsEngine.java ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld