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

Unified Diff: device/usb/usb_interface_android.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/usb/usb_interface_android.cc
diff --git a/device/usb/usb_interface_android.cc b/device/usb/usb_interface_android.cc
index 047b035058ac7f51ae1c7eeba1b9f0c05216285c..b1daa8da40285fe032d3eccd48c7b3051b05dd90 100644
--- a/device/usb/usb_interface_android.cc
+++ b/device/usb/usb_interface_android.cc
@@ -13,11 +13,6 @@ using base::android::ScopedJavaLocalRef;
namespace device {
// static
-bool UsbInterfaceAndroid::RegisterJNI(JNIEnv* env) {
- return RegisterNativesImpl(env); // Generated in ChromeUsbInterface_jni.h
-}
-
-// static
UsbInterfaceDescriptor UsbInterfaceAndroid::Convert(
JNIEnv* env,
const base::android::JavaRef<jobject>& usb_interface) {

Powered by Google App Engine
This is Rietveld 408576698