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

Unified Diff: android/jni_generator/testEagerCalledByNativesOption.golden

Issue 2050803003: Update to Chromium //base at Chromium commit e3a753f17bac62738b0dbf0b36510f767b081e4b. (Closed) Base URL: https://github.com/domokit/base.git@master
Patch Set: Created 4 years, 6 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 | « android/jni_generator/sample_for_tests.cc ('k') | android/jni_generator/testInnerClassNatives.golden » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: android/jni_generator/testEagerCalledByNativesOption.golden
diff --git a/android/jni_generator/testEagerCalledByNativesOption.golden b/android/jni_generator/testEagerCalledByNativesOption.golden
index cdd615103b77bd1a68f0ecb344819999d9ec026e..b01cd3999fdc01a4211b295c8b4b96ab0f8e5ec8 100644
--- a/android/jni_generator/testEagerCalledByNativesOption.golden
+++ b/android/jni_generator/testEagerCalledByNativesOption.golden
@@ -36,7 +36,7 @@ static jint Java_org_chromium_example_jni_1generator_Test_nativeMethod(JNIEnv*
jint arg1) {
Test* native = reinterpret_cast<Test*>(nativeTest);
CHECK_NATIVE_PTR(env, jcaller, native, "Method", 0);
- return native->Method(env, jcaller, arg1);
+ return native->Method(env, JavaParamRef<jobject>(env, jcaller), arg1);
}
namespace {
« no previous file with comments | « android/jni_generator/sample_for_tests.cc ('k') | android/jni_generator/testInnerClassNatives.golden » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698