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

Unified Diff: base/android/animation_frame_time_histogram.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 | « android_webview/native/cookie_manager.cc ('k') | base/android/application_status_listener.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: base/android/animation_frame_time_histogram.cc
diff --git a/base/android/animation_frame_time_histogram.cc b/base/android/animation_frame_time_histogram.cc
index 0d796193829ccebde22d7eadf7b30015ea27509f..2cf7516ff2bdfd8e8e144087686cb533b46d5adf 100644
--- a/base/android/animation_frame_time_histogram.cc
+++ b/base/android/animation_frame_time_histogram.cc
@@ -10,9 +10,9 @@
// static
void SaveHistogram(JNIEnv* env,
- jobject jcaller,
- jstring j_histogram_name,
- jlongArray j_frame_times_ms,
+ const JavaParamRef<jobject>& jcaller,
+ const JavaParamRef<jstring>& j_histogram_name,
+ const JavaParamRef<jlongArray>& j_frame_times_ms,
jint j_count) {
jlong *frame_times_ms = env->GetLongArrayElements(j_frame_times_ms, NULL);
std::string histogram_name = base::android::ConvertJavaStringToUTF8(
« no previous file with comments | « android_webview/native/cookie_manager.cc ('k') | base/android/application_status_listener.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698