| Index: net/tools/quic/quic_dispatcher_test.cc
|
| diff --git a/net/tools/quic/quic_dispatcher_test.cc b/net/tools/quic/quic_dispatcher_test.cc
|
| index 81c2cb90d7e44624f06fe02c3647995e00537eb7..4eef64bdaebc6cf320b34b8a5f31046f66515cd7 100644
|
| --- a/net/tools/quic/quic_dispatcher_test.cc
|
| +++ b/net/tools/quic/quic_dispatcher_test.cc
|
| @@ -68,7 +68,7 @@ class TestQuicSpdyServerSession : public QuicServerSessionBase {
|
| nullptr,
|
| crypto_config,
|
| compressed_certs_cache),
|
| - crypto_stream_(QuicServerSessionBase::GetCryptoStream()) {}
|
| + crypto_stream_(QuicServerSessionBase::GetMutableCryptoStream()) {}
|
|
|
| ~TestQuicSpdyServerSession() override { delete connection(); };
|
|
|
| @@ -93,7 +93,11 @@ class TestQuicSpdyServerSession : public QuicServerSessionBase {
|
| crypto_stream_ = crypto_stream;
|
| }
|
|
|
| - QuicCryptoServerStreamBase* GetCryptoStream() override {
|
| + QuicCryptoServerStreamBase* GetMutableCryptoStream() override {
|
| + return crypto_stream_;
|
| + }
|
| +
|
| + const QuicCryptoServerStreamBase* GetCryptoStream() const override {
|
| return crypto_stream_;
|
| }
|
|
|
|
|