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

Unified Diff: net/android/network_library.cc

Issue 2301553002: Pass JavaRef to Java methods in net. (Closed)
Patch Set: 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: net/android/network_library.cc
diff --git a/net/android/network_library.cc b/net/android/network_library.cc
index da62b79c21bf951d1889a57c4ab481e11371d4ae..54847e08df0b3ad1e2ae1b27b55dcc0cfeb4bef7 100644
--- a/net/android/network_library.cc
+++ b/net/android/network_library.cc
@@ -47,8 +47,8 @@ void VerifyX509CertChain(const std::vector<std::string>& cert_chain,
Java_AndroidNetworkLibrary_verifyServerCertificates(
env, chain_byte_array, auth_string, host_string);
- ExtractCertVerifyResult(result.obj(),
- status, is_issued_by_known_root, verified_chain);
+ ExtractCertVerifyResult(result, status, is_issued_by_known_root,
+ verified_chain);
}
void AddTestRootCertificate(const uint8_t* cert, size_t len) {
« no previous file with comments | « net/android/keystore_unittest.cc ('k') | net/test/embedded_test_server/android/embedded_test_server_android.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698