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

Unified Diff: device/bluetooth/android/wrappers.cc

Issue 2146753002: Android: Remove unneeded RegisterNatives() calls (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Android: Don't require RegisterNatives if there are none 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 side-by-side diff with in-line comments
Download patch
Index: device/bluetooth/android/wrappers.cc
diff --git a/device/bluetooth/android/wrappers.cc b/device/bluetooth/android/wrappers.cc
index 746eb25b558e0ee4560b49a0d91908b6b5bc2c9f..6ad8b7a016fc0ed4c60081ca4ed5045fad3f2364 100644
--- a/device/bluetooth/android/wrappers.cc
+++ b/device/bluetooth/android/wrappers.cc
@@ -12,10 +12,6 @@ using base::android::AttachCurrentThread;
namespace device {
-bool WrappersRegisterJNI(JNIEnv* env) {
- return RegisterNativesImpl(env); // From Wrappers_jni.h
-}
-
ScopedJavaLocalRef<jobject> BluetoothAdapterWrapper_CreateWithDefaultAdapter() {
return Java_BluetoothAdapterWrapper_createWithDefaultAdapter(
AttachCurrentThread(), base::android::GetApplicationContext());

Powered by Google App Engine
This is Rietveld 408576698