diff --git a/browser/permissions/connect_account_android.cc b/browser/permissions/connect_account_android.cc index 2b1fff921bb0..0a1ffc5be738 100644 --- a/browser/permissions/connect_account_android.cc +++ b/browser/permissions/connect_account_android.cc @@ -17,9 +17,8 @@ namespace { -base::android::ScopedJavaLocalRef GetJavaBoolean( - JNIEnv* env, - const bool& native_bool) { +base::android::ScopedJavaLocalRef GetJavaBoolean(JNIEnv* env, + bool native_bool) { jclass booleanClass = env->FindClass("java/lang/Boolean"); jmethodID methodID = env->GetMethodID(booleanClass, "", "(Z)V"); jobject booleanObject = env->NewObject(booleanClass, methodID, native_bool);