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

Unified Diff: net/android/http_auth_negotiate_android.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 | « mojo/android/system/watcher_impl.cc ('k') | net/android/keystore.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/android/http_auth_negotiate_android.cc
diff --git a/net/android/http_auth_negotiate_android.cc b/net/android/http_auth_negotiate_android.cc
index fa6f19b258d2782e08c62a554fd86cc714617f75..745ce63957132704e2b35438138a751d246e5db1 100644
--- a/net/android/http_auth_negotiate_android.cc
+++ b/net/android/http_auth_negotiate_android.cc
@@ -65,8 +65,7 @@ HttpAuthNegotiateAndroid::HttpAuthNegotiateAndroid(
JNIEnv* env = AttachCurrentThread();
java_authenticator_.Reset(Java_HttpNegotiateAuthenticator_create(
env,
- ConvertUTF8ToJavaString(env, prefs->AuthAndroidNegotiateAccountType())
- .obj()));
+ ConvertUTF8ToJavaString(env, prefs->AuthAndroidNegotiateAccountType())));
}
HttpAuthNegotiateAndroid::~HttpAuthNegotiateAndroid() {
@@ -140,9 +139,8 @@ int HttpAuthNegotiateAndroid::GenerateAuthToken(
JavaNegotiateResultWrapper* callback_wrapper = new JavaNegotiateResultWrapper(
callback_task_runner, thread_safe_callback);
Java_HttpNegotiateAuthenticator_getNextAuthToken(
- env, java_authenticator_.obj(),
- reinterpret_cast<intptr_t>(callback_wrapper), java_spn.obj(),
- java_server_auth_token.obj(), can_delegate_);
+ env, java_authenticator_, reinterpret_cast<intptr_t>(callback_wrapper),
+ java_spn, java_server_auth_token, can_delegate_);
return ERR_IO_PENDING;
}
« no previous file with comments | « mojo/android/system/watcher_impl.cc ('k') | net/android/keystore.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698