Index: libadblockplus-android/src/org/adblockplus/libadblockplus/JsEngine.java |
diff --git a/libadblockplus-android/src/org/adblockplus/libadblockplus/JsEngine.java b/libadblockplus-android/src/org/adblockplus/libadblockplus/JsEngine.java |
index d841e0a39d3366687dd7b92f9d6fa0da0a7a16fc..7d1075e285e7211702ce4e617c569dff6ecac2b0 100644 |
--- a/libadblockplus-android/src/org/adblockplus/libadblockplus/JsEngine.java |
+++ b/libadblockplus-android/src/org/adblockplus/libadblockplus/JsEngine.java |
@@ -32,7 +32,7 @@ public final class JsEngine implements Disposable |
public JsEngine(final AppInfo appInfo, final LogSystem logSystem) |
{ |
- this(ctor(appInfo, logSystem != null ? logSystem.ptr : 0)); |
+ this(ctor(appInfo, logSystem)); |
} |
public JsEngine(final AppInfo appInfo) |
@@ -132,7 +132,7 @@ public final class JsEngine implements Disposable |
private final static native void registerNatives(); |
- private final static native long ctor(AppInfo appInfo, long logSystemPtr); |
+ private final static native long ctor(AppInfo appInfo, LogSystem logSystem); |
private final static native void setEventCallback(long ptr, String eventName, long callback); |