From 09165d5fa6c7c5614500b87347e364cc2ba367f3 Mon Sep 17 00:00:00 2001 From: AlexeyBarabash Date: Tue, 19 Sep 2023 22:06:33 +0300 Subject: [PATCH] Fixed Android codereview notice --- browser/permissions/connect_account_android.cc | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) 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);