Index: net/socket/ssl_client_socket_unittest.cc |
diff --git a/net/socket/ssl_client_socket_unittest.cc b/net/socket/ssl_client_socket_unittest.cc |
index 1f1ab7227b3c660b75b97fa445498aca3c257f3e..633fe603e0064b41fd4e07ef118f9b892120987b 100644 |
--- a/net/socket/ssl_client_socket_unittest.cc |
+++ b/net/socket/ssl_client_socket_unittest.cc |
@@ -505,9 +505,11 @@ class SSLClientSocketTest : public PlatformTest { |
public: |
SSLClientSocketTest() |
: socket_factory_(net::ClientSocketFactory::GetDefaultFactory()), |
- cert_verifier_(new net::MockCertVerifier) { |
+ cert_verifier_(new net::MockCertVerifier), |
+ transport_security_state_(new net::TransportSecurityState) { |
cert_verifier_->set_default_result(net::OK); |
context_.cert_verifier = cert_verifier_.get(); |
+ context_.transport_security_state = transport_security_state_.get(); |
} |
protected: |
@@ -523,6 +525,7 @@ class SSLClientSocketTest : public PlatformTest { |
net::ClientSocketFactory* socket_factory_; |
scoped_ptr<net::MockCertVerifier> cert_verifier_; |
+ scoped_ptr<net::TransportSecurityState> transport_security_state_; |
net::SSLClientSocketContext context_; |
}; |