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

Unified Diff: device/usb/usb_device_handle_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_device_handle_android.cc
diff --git a/device/usb/usb_device_handle_android.cc b/device/usb/usb_device_handle_android.cc
index af9373f33e4ee7b127845b3992e3fc5f7dec6d7d..5b13f8f717f88befd6c7a40d1e5841d51feaf1ab 100644
--- a/device/usb/usb_device_handle_android.cc
+++ b/device/usb/usb_device_handle_android.cc
@@ -12,11 +12,6 @@
namespace device {
// static
-bool UsbDeviceHandleAndroid::RegisterJNI(JNIEnv* env) {
- return RegisterNativesImpl(env); // Generated in ChromeUsbConnection_jni.h
-}
-
-// static
scoped_refptr<UsbDeviceHandleAndroid> UsbDeviceHandleAndroid::Create(
JNIEnv* env,
scoped_refptr<UsbDevice> device,

Powered by Google App Engine
This is Rietveld 408576698