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

Unified Diff: chrome/browser/android/history_report/history_report_jni_bridge.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
Index: chrome/browser/android/history_report/history_report_jni_bridge.cc
diff --git a/chrome/browser/android/history_report/history_report_jni_bridge.cc b/chrome/browser/android/history_report/history_report_jni_bridge.cc
index c439c2e325db98026ff545139320eaa822539924..7acdf71d0ed3182af95f37e48b2e72a16e4f99c4 100644
--- a/chrome/browser/android/history_report/history_report_jni_bridge.cc
+++ b/chrome/browser/android/history_report/history_report_jni_bridge.cc
@@ -26,7 +26,7 @@
namespace history_report {
-static jlong Init(JNIEnv* env, jobject obj) {
+static jlong Init(JNIEnv* env, const JavaParamRef<jobject>& obj) {
HistoryReportJniBridge* bridge = new HistoryReportJniBridge(env, obj);
return reinterpret_cast<intptr_t>(bridge);
}
« no previous file with comments | « chrome/browser/android/fullscreen/fullscreen_infobar_delegate.cc ('k') | chrome/browser/android/java_exception_reporter.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698