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

Unified Diff: libadblockplus-android/jni/JniSubscription.cpp

Issue 29347012: Issue 4188 - Update libadblockplus-android to use the latest libadblockplus (Closed)
Patch Set: Changes in libadblockplus-android repo: updated dependencies file to the latest libadblockplus-binaries rev Created Dec. 5, 2016, 6:20 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/jni/JniFilter.cpp ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: libadblockplus-android/jni/JniSubscription.cpp
diff --git a/libadblockplus-android/jni/JniSubscription.cpp b/libadblockplus-android/jni/JniSubscription.cpp
index 4217fb0655e39a121cdcde6ecd1b2484ea7935ab..6e8a971e3af2a10489642465c139ce18b80892bc 100644
--- a/libadblockplus-android/jni/JniSubscription.cpp
+++ b/libadblockplus-android/jni/JniSubscription.cpp
@@ -28,7 +28,8 @@ static jlong JNICALL JniCtor(JNIEnv* env, jclass clazz, jlong jsValue)
{
try
{
- return JniPtrToLong(new AdblockPlus::SubscriptionPtr(new AdblockPlus::Subscription(JniGetJsValuePtr(jsValue))));
+ return JniPtrToLong(new AdblockPlus::SubscriptionPtr(
+ *JniLongToTypePtr<AdblockPlus::SubscriptionPtr>(jsValue)));
}
CATCH_THROW_AND_RETURN(env, 0)
}
« no previous file with comments | « libadblockplus-android/jni/JniFilter.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld