Skip to content

Commit

Permalink
Fixed Android codereview notice
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexeyBarabash authored and darkdh committed Oct 6, 2023
1 parent eaf5957 commit 09165d5
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions browser/permissions/connect_account_android.cc
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,8 @@

namespace {

base::android::ScopedJavaLocalRef<jobject> GetJavaBoolean(
JNIEnv* env,
const bool& native_bool) {
base::android::ScopedJavaLocalRef<jobject> GetJavaBoolean(JNIEnv* env,
bool native_bool) {
jclass booleanClass = env->FindClass("java/lang/Boolean");
jmethodID methodID = env->GetMethodID(booleanClass, "<init>", "(Z)V");
jobject booleanObject = env->NewObject(booleanClass, methodID, native_bool);
Expand Down

0 comments on commit 09165d5

Please sign in to comment.