| Index: net/quic/spdy_utils.cc
|
| diff --git a/net/quic/spdy_utils.cc b/net/quic/spdy_utils.cc
|
| index 90e65373827dc08b0052c52e8e019117d7f82813..6b9982a31f6d0198e52ce90b815b19ace21a014a 100644
|
| --- a/net/quic/spdy_utils.cc
|
| +++ b/net/quic/spdy_utils.cc
|
| @@ -149,8 +149,8 @@ bool SpdyUtils::CopyAndValidateHeaders(const QuicHeaderList& header_list,
|
| base::SplitString(content_length_header, base::StringPiece("\0", 1),
|
| base::TRIM_WHITESPACE, base::SPLIT_WANT_ALL);
|
| for (const string& value : values) {
|
| - int new_value;
|
| - if (!base::StringToInt(value, &new_value) || new_value < 0) {
|
| + int64_t new_value;
|
| + if (!base::StringToInt64(value, &new_value) || new_value < 0) {
|
| DLOG(ERROR) << "Content length was either unparseable or negative.";
|
| return false;
|
| }
|
|
|