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

Unified Diff: base/android/cpu_features.cc

Issue 1312153003: jni_generator: Pass object parameters as JavaParamRef. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase Created 5 years, 3 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 | « base/android/command_line_android.cc ('k') | base/android/field_trial_list.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: base/android/cpu_features.cc
diff --git a/base/android/cpu_features.cc b/base/android/cpu_features.cc
index 6a1869534b0d0c493b78682d87d71ad52a02b87f..c139b7851a1e6ff381a587f82f07898d3cc93932 100644
--- a/base/android/cpu_features.cc
+++ b/base/android/cpu_features.cc
@@ -10,11 +10,11 @@
namespace base {
namespace android {
-jint GetCoreCount(JNIEnv*, jclass) {
+jint GetCoreCount(JNIEnv*, const JavaParamRef<jclass>&) {
return android_getCpuCount();
}
-jlong GetCpuFeatures(JNIEnv*, jclass) {
+jlong GetCpuFeatures(JNIEnv*, const JavaParamRef<jclass>&) {
return android_getCpuFeatures();
}
« no previous file with comments | « base/android/command_line_android.cc ('k') | base/android/field_trial_list.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698