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

Unified Diff: chrome/browser/android/logo_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
« no previous file with comments | « chrome/browser/android/large_icon_bridge.cc ('k') | chrome/browser/android/metrics/launch_metrics.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/android/logo_bridge.cc
diff --git a/chrome/browser/android/logo_bridge.cc b/chrome/browser/android/logo_bridge.cc
index 6c97a0436e044261f7e11e971b69e2df1ee295c9..d2250b2232e067f2e334d15deb60ca23118d2b4c 100644
--- a/chrome/browser/android/logo_bridge.cc
+++ b/chrome/browser/android/logo_bridge.cc
@@ -79,7 +79,9 @@ class LogoObserverAndroid : public search_provider_logos::LogoObserver {
} // namespace
-static jlong Init(JNIEnv* env, jobject obj, jobject j_profile) {
+static jlong Init(JNIEnv* env,
+ const JavaParamRef<jobject>& obj,
+ const JavaParamRef<jobject>& j_profile) {
LogoBridge* logo_bridge = new LogoBridge(j_profile);
return reinterpret_cast<intptr_t>(logo_bridge);
}
« no previous file with comments | « chrome/browser/android/large_icon_bridge.cc ('k') | chrome/browser/android/metrics/launch_metrics.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698