Index: net/quic/quic_crypto_stream.cc |
diff --git a/net/quic/quic_crypto_stream.cc b/net/quic/quic_crypto_stream.cc |
index e73e61d2a3c9770a01d9d94131491f85792a4357..00cfe77e66c570be3e2b4ec7ca0be2605830e3a2 100644 |
--- a/net/quic/quic_crypto_stream.cc |
+++ b/net/quic/quic_crypto_stream.cc |
@@ -55,7 +55,7 @@ void QuicCryptoStream::SendHandshakeMessage( |
// any other frames in a single packet. |
session()->connection()->Flush(); |
// TODO(wtc): check the return value. |
- WriteData(string(data.data(), data.length()), false); |
+ WriteOrBufferData(string(data.data(), data.length()), false); |
session()->connection()->Flush(); |
} |