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

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

Issue 29422558: Issue 5167 - Update to use libadblockplus revision dca8df9af1a7 (Closed)
Patch Set: suggestions by Serge Created April 26, 2017, 10:22 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/JniJsValue.h
diff --git a/libadblockplus-android/jni/JniJsValue.h b/libadblockplus-android/jni/JniJsValue.h
index d90342d61a8c724db85d85fe0fb1b4b968672795..fa7598c1137104adbc07eb6333d197aecc1b9220 100644
--- a/libadblockplus-android/jni/JniJsValue.h
+++ b/libadblockplus-android/jni/JniJsValue.h
@@ -27,12 +27,12 @@ void JniJsValue_OnUnload(JavaVM* vm, JNIEnv* env, void* reserved);
jclass GetJsValueClass();
-jobject NewJniJsValue(JNIEnv* env, const AdblockPlus::JsValuePtr& jsValue, jclass jsValueClass = 0);
+jobject NewJniJsValue(JNIEnv* env, const AdblockPlus::JsValue& jsValue, jclass jsValueClass = 0);
-jobject JniJsValueListToArrayList(JNIEnv* env, AdblockPlus::JsValueList& list);
+jobject JniJsValueListToArrayList(JNIEnv* env, const AdblockPlus::JsValueList& list);
-AdblockPlus::JsValue* JniGetJsValue(jlong ptr);
+AdblockPlus::JsValue* JniGetJsValuePtr(jlong ptr);
-AdblockPlus::JsValuePtr& JniGetJsValuePtr(jlong ptr);
+AdblockPlus::JsValue& JniGetJsValue(jlong ptr);
#endif /* JNIJSVALUE_H */

Powered by Google App Engine
This is Rietveld