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

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

Issue 2237943002: Remove now-unnecessary .obj() in Java method calls. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@switch-context
Patch Set: Rebase *again* :( 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
« no previous file with comments | « ui/base/resource/resource_bundle_android.cc ('k') | ui/events/android/motion_event_android.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 145736837c18045cfe4cad78d04c6c7844e4c070..c4419b25e2cdeaa302811aaeb8895851a0ca5708 100644
--- a/ui/events/android/key_event_utils.cc
+++ b/ui/events/android/key_event_utils.cc
@@ -19,8 +19,8 @@ base::android::ScopedJavaLocalRef<jobject> CreateKeyEvent(JNIEnv* env,
int GetKeyEventUnicodeChar(JNIEnv* env,
const base::android::JavaRef<jobject>& event,
int meta_state) {
- return static_cast<int>(JNI_KeyEvent::Java_KeyEvent_getUnicodeCharI_I(
- env, event.obj(), meta_state));
+ return static_cast<int>(
+ JNI_KeyEvent::Java_KeyEvent_getUnicodeCharI_I(env, event, meta_state));
}
} // namespace android
« no previous file with comments | « ui/base/resource/resource_bundle_android.cc ('k') | ui/events/android/motion_event_android.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698