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

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

Issue 29600561: Issue 6001 - Pass IV8IsolateProvider to Helper (Closed)
Patch Set: Created Nov. 7, 2017, 7:42 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: 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 83438fb01f44de53bfd88af734a45d0afe139a5e..f5143695e6fb20d91b9d7878497873f4ca40e456 100644
--- a/libadblockplus-android/src/org/adblockplus/libadblockplus/android/AdblockEngine.java
+++ b/libadblockplus-android/src/org/adblockplus/libadblockplus/android/AdblockEngine.java
@@ -131,7 +131,7 @@ public final class AdblockEngine
private AppInfo appInfo;
private String basePath;
private IsAllowedConnectionCallback isAllowedConnectionCallback;
- private Long v8IsolatePtr;
+ private Long v8IsolateProviderPtr;
private AdblockEngine engine;
@@ -168,9 +168,9 @@ public final class AdblockEngine
return this;
}
- public Builder useV8Isolate(long v8IsolatePtr)
+ public Builder useV8IsolateProvider(long v8IsolateProviderPtr)
{
- this.v8IsolatePtr = v8IsolatePtr;
+ this.v8IsolateProviderPtr = v8IsolateProviderPtr;
return this;
}
@@ -263,9 +263,9 @@ public final class AdblockEngine
{
engine.logSystem = new AndroidLogSystem();
engine.platform = new Platform(engine.logSystem, engine.webRequest, basePath);
- if (v8IsolatePtr != null)
+ if (v8IsolateProviderPtr != null)
{
- engine.platform.setUpJsEngine(appInfo, v8IsolatePtr);
+ engine.platform.setUpJsEngine(appInfo, v8IsolateProviderPtr);
}
else
{

Powered by Google App Engine
This is Rietveld