| Index: net/tools/quic/quic_simple_client_bin.cc
|
| diff --git a/net/tools/quic/quic_simple_client_bin.cc b/net/tools/quic/quic_simple_client_bin.cc
|
| index b0a6075f2eca9401efc8bbcc5db60b0e6eba8b46..810e4099cb8dd34435e0a9d5e66f302865c3ad82 100644
|
| --- a/net/tools/quic/quic_simple_client_bin.cc
|
| +++ b/net/tools/quic/quic_simple_client_bin.cc
|
| @@ -235,11 +235,11 @@ int main(int argc, char *argv[]) {
|
| request.url = url;
|
|
|
| // Append any additional headers supplied on the command line.
|
| - vector<string> headers_tokenized;
|
| - Tokenize(FLAGS_headers, ";", &headers_tokenized);
|
| - for (size_t i = 0; i < headers_tokenized.size(); ++i) {
|
| + for (const std::string& header :
|
| + base::SplitString(FLAGS_headers, ";", base::KEEP_WHITESPACE,
|
| + base::SPLIT_WANT_NONEMPTY)) {
|
| string sp;
|
| - base::TrimWhitespaceASCII(headers_tokenized[i], base::TRIM_ALL, &sp);
|
| + base::TrimWhitespaceASCII(header, base::TRIM_ALL, &sp);
|
| if (sp.empty()) {
|
| continue;
|
| }
|
|
|