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

Unified Diff: chrome/browser/ui/android/chrome_http_auth_handler.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
Index: chrome/browser/ui/android/chrome_http_auth_handler.cc
diff --git a/chrome/browser/ui/android/chrome_http_auth_handler.cc b/chrome/browser/ui/android/chrome_http_auth_handler.cc
index fd484e865aea877c3eafc2ac0465e617bf938c51..08dbce70cca1b0f007e10ba19575113c78abcbcf 100644
--- a/chrome/browser/ui/android/chrome_http_auth_handler.cc
+++ b/chrome/browser/ui/android/chrome_http_auth_handler.cc
@@ -42,10 +42,8 @@ void ChromeHttpAuthHandler::SetObserver(LoginHandler* observer) {
void ChromeHttpAuthHandler::ShowDialog(jobject window_android) {
JNIEnv* env = AttachCurrentThread();
- Java_ChromeHttpAuthHandler_showDialog(
- env,
- java_chrome_http_auth_handler_.obj(),
- window_android);
+ Java_ChromeHttpAuthHandler_showDialog(env, java_chrome_http_auth_handler_,
+ window_android);
}
void ChromeHttpAuthHandler::OnAutofillDataAvailable(
@@ -58,8 +56,7 @@ void ChromeHttpAuthHandler::OnAutofillDataAvailable(
ScopedJavaLocalRef<jstring> j_password =
ConvertUTF16ToJavaString(env, password);
Java_ChromeHttpAuthHandler_onAutofillDataAvailable(
- env, java_chrome_http_auth_handler_.obj(),
- j_username.obj(), j_password.obj());
+ env, java_chrome_http_auth_handler_, j_username, j_password);
}
void ChromeHttpAuthHandler::SetAuth(JNIEnv* env,
« no previous file with comments | « chrome/browser/ui/android/bluetooth_chooser_android.cc ('k') | chrome/browser/ui/android/connection_info_popup_android.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698