| Index: chrome/browser/ui/android/connection_info_popup_android.cc
|
| diff --git a/chrome/browser/ui/android/connection_info_popup_android.cc b/chrome/browser/ui/android/connection_info_popup_android.cc
|
| index 9e41c35baaa233ef176b038e47b8329a6371ccc2..d049fdf4a992c4669297218d0e4a20e4e1ee1a97 100644
|
| --- a/chrome/browser/ui/android/connection_info_popup_android.cc
|
| +++ b/chrome/browser/ui/android/connection_info_popup_android.cc
|
| @@ -30,8 +30,10 @@ using base::android::ScopedJavaLocalRef;
|
| using content::CertStore;
|
| using content::WebContents;
|
|
|
| -static ScopedJavaLocalRef<jobjectArray>
|
| -GetCertificateChain(JNIEnv* env, jobject obj, jobject java_web_contents) {
|
| +static ScopedJavaLocalRef<jobjectArray> GetCertificateChain(
|
| + JNIEnv* env,
|
| + const JavaParamRef<jobject>& obj,
|
| + const JavaParamRef<jobject>& java_web_contents) {
|
| content::WebContents* web_contents =
|
| content::WebContents::FromJavaWebContents(java_web_contents);
|
| if (!web_contents)
|
| @@ -66,9 +68,9 @@ GetCertificateChain(JNIEnv* env, jobject obj, jobject java_web_contents) {
|
|
|
| // static
|
| static jlong Init(JNIEnv* env,
|
| - jclass clazz,
|
| - jobject obj,
|
| - jobject java_web_contents) {
|
| + const JavaParamRef<jclass>& clazz,
|
| + const JavaParamRef<jobject>& obj,
|
| + const JavaParamRef<jobject>& java_web_contents) {
|
| content::WebContents* web_contents =
|
| content::WebContents::FromJavaWebContents(java_web_contents);
|
|
|
|
|