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

Unified Diff: base/android/jni_generator/testJNIInitNativeNameOption.golden

Issue 132013003: Android: moves jni_generator samples to use long for JNI. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: With fixes Created 6 years, 11 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
Index: base/android/jni_generator/testJNIInitNativeNameOption.golden
diff --git a/base/android/jni_generator/testJNIInitNativeNameOption.golden b/base/android/jni_generator/testJNIInitNativeNameOption.golden
index 4ede46a32f0788d66fbb31cb4af7a770881b68d1..434295aef95c4e0d8b48bd0fd729aa69acd8048e 100644
--- a/base/android/jni_generator/testJNIInitNativeNameOption.golden
+++ b/base/android/jni_generator/testJNIInitNativeNameOption.golden
@@ -24,7 +24,7 @@ jclass g_Test_clazz = NULL;
// Step 2: method stubs.
static jint Method(JNIEnv* env, jobject jcaller,
- jint nativeTest,
+ jlong nativeTest,
jint arg1) {
Test* native = reinterpret_cast<Test*>(nativeTest);
CHECK_NATIVE_PTR(env, jcaller, native, "Method", 0);
@@ -36,7 +36,7 @@ static jint Method(JNIEnv* env, jobject jcaller,
static const JNINativeMethod kMethodsTest[] = {
{ "nativeMethod",
"("
-"I"
+"J"
"I"
")"
"I", reinterpret_cast<void*>(Method) },

Powered by Google App Engine
This is Rietveld 408576698