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

Unified Diff: base/android/jni_generator/testEagerCalledByNativesOption.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/testEagerCalledByNativesOption.golden
diff --git a/base/android/jni_generator/testEagerCalledByNativesOption.golden b/base/android/jni_generator/testEagerCalledByNativesOption.golden
index 7ed0b6daeb495092d743944d5ff9c472023a6efa..bef4c5a4ad0590d8873e10e9f58c56fa11e03d8b 100644
--- a/base/android/jni_generator/testEagerCalledByNativesOption.golden
+++ b/base/android/jni_generator/testEagerCalledByNativesOption.golden
@@ -27,7 +27,7 @@ jmethodID g_Test_testStaticMethodWithNoParam = 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);
@@ -67,7 +67,7 @@ static base::android::ScopedJavaLocalRef<jstring>
static const JNINativeMethod kMethodsTest[] = {
{ "nativeMethod",
"("
-"I"
+"J"
"I"
")"
"I", reinterpret_cast<void*>(Method) },
« no previous file with comments | « base/android/jni_generator/sample_for_tests.cc ('k') | base/android/jni_generator/testJNIInitNativeNameOption.golden » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698