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

Unified Diff: chrome/browser/android/bottombar/contextualsearch/contextual_search_panel.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/bottombar/contextualsearch/contextual_search_panel.cc
diff --git a/chrome/browser/android/bottombar/contextualsearch/contextual_search_panel.cc b/chrome/browser/android/bottombar/contextualsearch/contextual_search_panel.cc
index 41235e3ba4f94d1a08d6c60e7e81dca35d9d4291..0d9d7b0414d24a3cda3e8fcbaec4ee71a0e8649e 100644
--- a/chrome/browser/android/bottombar/contextualsearch/contextual_search_panel.cc
+++ b/chrome/browser/android/bottombar/contextualsearch/contextual_search_panel.cc
@@ -141,7 +141,7 @@ bool RegisterContextualSearchPanel(JNIEnv* env) {
return RegisterNativesImpl(env);
}
-jlong Init(JNIEnv* env, jobject obj) {
+jlong Init(JNIEnv* env, const JavaParamRef<jobject>& obj) {
ContextualSearchPanel* manager = new ContextualSearchPanel(env, obj);
return reinterpret_cast<intptr_t>(manager);
}
« no previous file with comments | « chrome/browser/android/bookmarks/partner_bookmarks_reader.cc ('k') | chrome/browser/android/chrome_application.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698