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

Unified Diff: libadblockplus-android/jni/Utils.h

Issue 29422558: Issue 5167 - Update to use libadblockplus revision dca8df9af1a7 (Closed)
Patch Set: optimizations by serge, using newer libadblockplus-binaries Created May 5, 2017, 11:33 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/jni/Utils.h
diff --git a/libadblockplus-android/jni/Utils.h b/libadblockplus-android/jni/Utils.h
index a79518cacc76b3541dbcd649a77fdb1bc9ccdc01..53cc1babd0b0d50fb9bf19cc9d5f533f250aff1b 100644
--- a/libadblockplus-android/jni/Utils.h
+++ b/libadblockplus-android/jni/Utils.h
@@ -187,13 +187,11 @@ inline jobjectArray JniGetStringArrayField(JNIEnv* env, jclass clazz, jobject jO
jobject NewJniArrayList(JNIEnv* env);
-jobject NewJniFilter(JNIEnv* env, const AdblockPlus::FilterPtr& filter);
+jobject NewJniFilter(JNIEnv* env, AdblockPlus::Filter&& filter);
-jobject NewJniSubscription(JNIEnv* env,
- const AdblockPlus::SubscriptionPtr& subscription);
+jobject NewJniSubscription(JNIEnv* env, AdblockPlus::Subscription&& subscription);
-jobject NewJniNotification(JNIEnv* env,
- const AdblockPlus::NotificationPtr& notification);
+jobject NewJniNotification(JNIEnv* env, AdblockPlus::Notification&& notification);
#define CATCH_AND_THROW(jEnv) \
catch (const std::exception& except) \

Powered by Google App Engine
This is Rietveld