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: 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/JniJsEngine.cpp ('k') | libadblockplus-android/jni/JniJsValue.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 */
« no previous file with comments | « libadblockplus-android/jni/JniJsEngine.cpp ('k') | libadblockplus-android/jni/JniJsValue.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld