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

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

Issue 29422558: Issue 5167 - Update to use libadblockplus revision dca8df9af1a7 (Closed)
Patch Set: using move ctors, reverted some unrelated changes Created April 27, 2017, 6:19 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
« no previous file with comments | « libadblockplus-android/jni/JniShowNotificationCallback.cpp ('k') | libadblockplus-android/jni/Utils.h » ('j') | 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 8360e00ddfbc623aba5244043eb88ea93ddb84f8..4a104cab690332a3f83cd6a6efb3bddd2ea020e7 100644
--- a/libadblockplus-android/jni/JniSubscription.cpp
+++ b/libadblockplus-android/jni/JniSubscription.cpp
@@ -21,7 +21,7 @@
static AdblockPlus::Subscription* GetSubscriptionPtr(jlong ptr)
{
- return JniLongToTypePtr<AdblockPlus::SubscriptionPtr>(ptr)->get();
+ return JniLongToTypePtr<AdblockPlus::Subscription>(ptr);
}
static jboolean JNICALL JniIsListed(JNIEnv* env, jclass clazz, jlong ptr)
« no previous file with comments | « libadblockplus-android/jni/JniShowNotificationCallback.cpp ('k') | libadblockplus-android/jni/Utils.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld