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

Side by Side Diff: content/common/android/hash_set.cc

Issue 2237943002: Remove now-unnecessary .obj() in Java method calls. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@switch-context
Patch Set: Rebase *again* :( Created 4 years, 4 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 unified diff | Download patch
OLDNEW
1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2013 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "jni/HashSet_jni.h" 5 #include "jni/HashSet_jni.h"
6 6
7 namespace content { 7 namespace content {
8 8
9 void JNI_Java_HashSet_add(JNIEnv* env, 9 void JNI_Java_HashSet_add(JNIEnv* env,
10 const base::android::JavaRef<jobject>& hash_set, 10 const base::android::JavaRef<jobject>& hash_set,
11 const base::android::JavaRef<jobject>& object) { 11 const base::android::JavaRef<jobject>& object) {
12 JNI_HashSet::Java_HashSet_add(env, hash_set.obj(), object.obj()); 12 JNI_HashSet::Java_HashSet_add(env, hash_set, object);
13 } 13 }
14 14
15 void JNI_Java_HashSet_remove(JNIEnv* env, 15 void JNI_Java_HashSet_remove(JNIEnv* env,
16 const base::android::JavaRef<jobject>& hash_set, 16 const base::android::JavaRef<jobject>& hash_set,
17 const base::android::JavaRef<jobject>& object) { 17 const base::android::JavaRef<jobject>& object) {
18 JNI_HashSet::Java_HashSet_remove(env, hash_set.obj(), object.obj()); 18 JNI_HashSet::Java_HashSet_remove(env, hash_set, object);
19 } 19 }
20 20
21 void JNI_Java_HashSet_clear(JNIEnv* env, 21 void JNI_Java_HashSet_clear(JNIEnv* env,
22 const base::android::JavaRef<jobject>& hash_set) { 22 const base::android::JavaRef<jobject>& hash_set) {
23 JNI_HashSet::Java_HashSet_clear(env, hash_set.obj()); 23 JNI_HashSet::Java_HashSet_clear(env, hash_set);
24 } 24 }
25 25
26 } // namespace content 26 } // namespace content
OLDNEW
« no previous file with comments | « content/browser/web_contents/web_contents_android.cc ('k') | content/common/android/media_metadata_android.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698