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

Unified Diff: chrome/browser/dom_distiller/dom_distiller_service_factory_android.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/dom_distiller/dom_distiller_service_factory_android.cc
diff --git a/chrome/browser/dom_distiller/dom_distiller_service_factory_android.cc b/chrome/browser/dom_distiller/dom_distiller_service_factory_android.cc
index 1c1df8e6ee2214a8122f325ed5011b93d4823607..ed9971c429aa752b8929d52f7e7be10c92967d25 100644
--- a/chrome/browser/dom_distiller/dom_distiller_service_factory_android.cc
+++ b/chrome/browser/dom_distiller/dom_distiller_service_factory_android.cc
@@ -32,9 +32,10 @@ bool DomDistillerServiceFactoryAndroid::Register(JNIEnv* env) {
return RegisterNativesImpl(env);
}
-ScopedJavaLocalRef<jobject> GetForProfile(JNIEnv* env,
- jclass clazz,
- jobject j_profile) {
+ScopedJavaLocalRef<jobject> GetForProfile(
+ JNIEnv* env,
+ const JavaParamRef<jclass>& clazz,
+ const JavaParamRef<jobject>& j_profile) {
return DomDistillerServiceFactoryAndroid::GetForProfile(env, clazz,
j_profile);
}
« no previous file with comments | « chrome/browser/autofill/android/personal_data_manager_android.cc ('k') | chrome/browser/dom_distiller/tab_utils_android.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698