Index: net/socket/ssl_client_socket_pool.cc |
diff --git a/net/socket/ssl_client_socket_pool.cc b/net/socket/ssl_client_socket_pool.cc |
index 12d9e19558067e0a61ccecae1a5aa647df5c1537..b8ffca8b88170f0dc56a3f4a63dfbc18e57912bf 100644 |
--- a/net/socket/ssl_client_socket_pool.cc |
+++ b/net/socket/ssl_client_socket_pool.cc |
@@ -202,10 +202,10 @@ int SSLConnectJob::DoTCPConnect() { |
params_->ssl_config())); |
} |
- if (dnsrr_resolver_) |
- ssl_host_info_->StartDnsLookup(dnsrr_resolver_); |
- |
if (ssl_host_info_.get()) { |
+ if (dnsrr_resolver_) |
+ ssl_host_info_->StartDnsLookup(dnsrr_resolver_); |
+ |
// This starts fetching the SSL host info from the disk cache for Snap |
// Start. |
ssl_host_info_->Start(); |