| Index: net/quic/crypto/crypto_framer.cc
|
| diff --git a/net/quic/crypto/crypto_framer.cc b/net/quic/crypto/crypto_framer.cc
|
| index 7f81f3639775c24e15b2e515a6a80ae5cd34d4d3..fe76a7ff1d3e63128fec2183eb39ac8b1dbf82a5 100644
|
| --- a/net/quic/crypto/crypto_framer.cc
|
| +++ b/net/quic/crypto/crypto_framer.cc
|
| @@ -252,12 +252,10 @@ QuicErrorCode CryptoFramer::Process(StringPiece input) {
|
| if (reader.BytesRemaining() < values_len_) {
|
| break;
|
| }
|
| - for (vector<pair<QuicTag, size_t> >::const_iterator
|
| - it = tags_and_lengths_.begin(); it != tags_and_lengths_.end();
|
| - it++) {
|
| + for (const pair<QuicTag, size_t>& item : tags_and_lengths_) {
|
| StringPiece value;
|
| - reader.ReadStringPiece(&value, it->second);
|
| - message_.SetStringPiece(it->first, value);
|
| + reader.ReadStringPiece(&value, item.second);
|
| + message_.SetStringPiece(item.first, value);
|
| }
|
| visitor_->OnHandshakeMessage(message_);
|
| Clear();
|
|
|