Index: net/quic/quic_crypto_client_stream.cc |
diff --git a/net/quic/quic_crypto_client_stream.cc b/net/quic/quic_crypto_client_stream.cc |
index d684a49a673ddb173da7f99667b4f2dc639f3d5d..9fa9367f7460c8d45814731377969b09f1ffd0f0 100644 |
--- a/net/quic/quic_crypto_client_stream.cc |
+++ b/net/quic/quic_crypto_client_stream.cc |
@@ -132,7 +132,7 @@ void QuicCryptoClientStream::DoHandshakeLoop( |
// Pad the inchoate client hello to fill up a packet. |
const size_t kFramingOverhead = 50; // A rough estimate. |
const size_t max_packet_size = |
- session()->connection()->options()->max_packet_length; |
+ session()->connection()->max_packet_length(); |
if (max_packet_size <= kFramingOverhead) { |
DLOG(DFATAL) << "max_packet_length (" << max_packet_size |
<< ") has no room for framing overhead."; |