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

Unified Diff: net/socket/ssl_client_socket_win.cc

Issue 10534117: Fix NetLog thread safety issue (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Update text Created 8 years, 6 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/socket/ssl_client_socket_win.cc
===================================================================
--- net/socket/ssl_client_socket_win.cc (revision 141669)
+++ net/socket/ssl_client_socket_win.cc (working copy)
@@ -1563,8 +1563,7 @@
X509Certificate::CreateFromHandle(server_cert_handle, intermediates));
net_log_.AddEvent(
NetLog::TYPE_SSL_CERTIFICATES_RECEIVED,
- base::Bind(&NetLogX509CertificateCallback,
- base::Unretained(new_server_cert.get())));
+ CreateNetLogX509CertificateCallback(new_server_cert));
if (renegotiating_ && IsCertificateChainIdentical(server_cert_,
new_server_cert)) {
// We already verified the server certificate. Either it is good or the
« net/base/x509_certificate_net_log_param.h ('K') | « net/socket/ssl_client_socket_openssl.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698