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

Unified Diff: device/usb/usb_endpoint_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_endpoint_android.cc
diff --git a/device/usb/usb_endpoint_android.cc b/device/usb/usb_endpoint_android.cc
index 13bb6a279db6421a8252994bc7eb4f80d690d97a..6908b98be94322ba953c19d6839ff7d43da0ecc3 100644
--- a/device/usb/usb_endpoint_android.cc
+++ b/device/usb/usb_endpoint_android.cc
@@ -9,11 +9,6 @@
namespace device {
// static
-bool UsbEndpointAndroid::RegisterJNI(JNIEnv* env) {
- return RegisterNativesImpl(env); // Generated in ChromeUsbEndpoint_jni.h
-}
-
-// static
UsbEndpointDescriptor UsbEndpointAndroid::Convert(
JNIEnv* env,
const base::android::JavaRef<jobject>& usb_endpoint) {

Powered by Google App Engine
This is Rietveld 408576698