Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1580)

Unified Diff: webrtc/modules/utility/source/jvm_android.cc

Issue 2974913002: Fixes CallStaticObjectMethod call in jvm_android.cc (Closed)
Patch Set: Created 3 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webrtc/modules/utility/source/jvm_android.cc
diff --git a/webrtc/modules/utility/source/jvm_android.cc b/webrtc/modules/utility/source/jvm_android.cc
index a7a5efdc8b2871e380b4bbdcefa5f0e23333d634..b13eb897fbed5d75a7799e7b73bab84cf21ee60b 100644
--- a/webrtc/modules/utility/source/jvm_android.cc
+++ b/webrtc/modules/utility/source/jvm_android.cc
@@ -170,7 +170,7 @@ jmethodID JavaClass::GetStaticMethodId(
jobject JavaClass::CallStaticObjectMethod(jmethodID methodID, ...) {
va_list args;
va_start(args, methodID);
- jobject res = jni_->CallStaticObjectMethod(j_class_, methodID, args);
+ jobject res = jni_->CallStaticObjectMethodV(j_class_, methodID, args);
CHECK_EXCEPTION(jni_) << "Error during CallStaticObjectMethod";
return res;
}
@@ -178,7 +178,7 @@ jobject JavaClass::CallStaticObjectMethod(jmethodID methodID, ...) {
jint JavaClass::CallStaticIntMethod(jmethodID methodID, ...) {
va_list args;
va_start(args, methodID);
- jint res = jni_->CallStaticIntMethod(j_class_, methodID, args);
+ jint res = jni_->CallStaticIntMethodV(j_class_, methodID, args);
CHECK_EXCEPTION(jni_) << "Error during CallStaticIntMethod";
return res;
}
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698