Index: net/tools/quic/quic_client_session_test.cc |
diff --git a/net/tools/quic/quic_client_session_test.cc b/net/tools/quic/quic_client_session_test.cc |
index 541f290cc429ee71d52b63eeda0ffb6f21214185..7ae923bf11b8521392eb5b2032ff273946e258b6 100644 |
--- a/net/tools/quic/quic_client_session_test.cc |
+++ b/net/tools/quic/quic_client_session_test.cc |
@@ -20,7 +20,7 @@ using net::test::ConstructMisFramedEncryptedPacket; |
using net::test::CryptoTestUtils; |
using net::test::DefaultQuicConfig; |
using net::test::MockConnection; |
-using net::test::MockHelper; |
+using net::test::MockConnectionHelper; |
using net::test::PacketSavingConnection; |
using net::test::QuicSpdySessionPeer; |
using net::test::SupportedVersions; |
@@ -60,12 +60,13 @@ class ToolsQuicClientSessionTest |
void CompleteCryptoHandshake() { |
session_->CryptoConnect(); |
- CryptoTestUtils::HandshakeWithFakeServer(&helper_, connection_, |
- session_->GetCryptoStream()); |
+ QuicCryptoClientStream* stream = |
+ static_cast<QuicCryptoClientStream*>(session_->GetCryptoStream()); |
+ CryptoTestUtils::HandshakeWithFakeServer(&helper_, connection_, stream); |
} |
QuicCryptoClientConfig crypto_config_; |
- MockHelper helper_; |
+ MockConnectionHelper helper_; |
PacketSavingConnection* connection_; |
scoped_ptr<QuicClientSession> session_; |
}; |