Index: net/quic/core/spdy_utils.cc |
diff --git a/net/quic/core/spdy_utils.cc b/net/quic/core/spdy_utils.cc |
index aab7f6f6895e6837b1a803309f1b696c83e77a67..0f3e69cadeec79a38f939b2ce7fa34bb8b3a551d 100644 |
--- a/net/quic/core/spdy_utils.cc |
+++ b/net/quic/core/spdy_utils.cc |
@@ -113,7 +113,7 @@ bool SpdyUtils::ParseTrailers(const char* data, |
for (const auto& trailer : *trailers) { |
base::StringPiece key = trailer.first; |
base::StringPiece value = trailer.second; |
- if (key.starts_with(":")) { |
+ if (base::StartsWith(key, ":", base::CompareCase::INSENSITIVE_ASCII)) { |
DVLOG(1) << "Trailers must not contain pseudo-header: '" << key << "','" |
<< value << "'."; |
return false; |