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..557b22aaddc31b5c6d5361630c895c6237160e2d 100644 |
--- a/net/tools/quic/quic_client_session_test.cc |
+++ b/net/tools/quic/quic_client_session_test.cc |
@@ -60,8 +60,9 @@ 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_; |