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

Unified Diff: ui/events/android/key_event_utils.cc

Issue 2146753002: Android: Remove unneeded RegisterNatives() calls (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase, more fixes Created 4 years, 5 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: ui/events/android/key_event_utils.cc
diff --git a/ui/events/android/key_event_utils.cc b/ui/events/android/key_event_utils.cc
index af2f2c5b176a965dca45e2e438b56ac30e02c6c6..145736837c18045cfe4cad78d04c6c7844e4c070 100644
--- a/ui/events/android/key_event_utils.cc
+++ b/ui/events/android/key_event_utils.cc
@@ -10,10 +10,6 @@ namespace ui {
namespace events {
namespace android {
-bool RegisterKeyEvent(JNIEnv* env) {
- return JNI_KeyEvent::RegisterNativesImpl(env);
-}
-
base::android::ScopedJavaLocalRef<jobject> CreateKeyEvent(JNIEnv* env,
int action,
int key_code) {

Powered by Google App Engine
This is Rietveld 408576698