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

Unified Diff: blimp/client/app/android/web_input_box.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 | « blimp/client/app/android/toolbar.cc ('k') | blimp/client/core/android/blimp_client_context_impl_android.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: blimp/client/app/android/web_input_box.cc
diff --git a/blimp/client/app/android/web_input_box.cc b/blimp/client/app/android/web_input_box.cc
index c84ee73aa3d3f6b03b263ae308fc6e79a5b6b816..e3b2de9c78d1cb3487b8e177c015150b7bba95d2 100644
--- a/blimp/client/app/android/web_input_box.cc
+++ b/blimp/client/app/android/web_input_box.cc
@@ -50,13 +50,13 @@ void WebInputBox::OnShowImeRequested(ui::TextInputType input_type,
JNIEnv* env = base::android::AttachCurrentThread();
DCHECK_NE(ui::TEXT_INPUT_TYPE_NONE, input_type);
Java_WebInputBox_onShowImeRequested(
- env, java_obj_.obj(), input_type,
- base::android::ConvertUTF8ToJavaString(env, text).obj());
+ env, java_obj_, input_type,
+ base::android::ConvertUTF8ToJavaString(env, text));
}
void WebInputBox::OnHideImeRequested() {
JNIEnv* env = base::android::AttachCurrentThread();
- Java_WebInputBox_onHideImeRequested(env, java_obj_.obj());
+ Java_WebInputBox_onHideImeRequested(env, java_obj_);
}
void WebInputBox::OnImeTextEntered(JNIEnv* env,
« no previous file with comments | « blimp/client/app/android/toolbar.cc ('k') | blimp/client/core/android/blimp_client_context_impl_android.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698