| Index: net/quic/core/quic_tag.cc
|
| diff --git a/net/quic/core/quic_tag.cc b/net/quic/core/quic_tag.cc
|
| index 1df74e662be5c76c1e6cf57e13464799a3ebeb73..2d0f1ecc083bc61e14e74f92309911521253ab59 100644
|
| --- a/net/quic/core/quic_tag.cc
|
| +++ b/net/quic/core/quic_tag.cc
|
| @@ -4,9 +4,8 @@
|
|
|
| #include "net/quic/core/quic_tag.h"
|
|
|
| -#include <algorithm>
|
| -
|
| #include "base/macros.h"
|
| +#include "base/stl_util.h"
|
| #include "net/quic/platform/api/quic_text_utils.h"
|
|
|
| namespace net {
|
| @@ -62,8 +61,7 @@ uint32_t MakeQuicTag(char a, char b, char c, char d) {
|
| }
|
|
|
| bool ContainsQuicTag(const QuicTagVector& tag_vector, QuicTag tag) {
|
| - return std::find(tag_vector.begin(), tag_vector.end(), tag) !=
|
| - tag_vector.end();
|
| + return base::ContainsValue(tag_vector, tag);
|
| }
|
|
|
| } // namespace net
|
|
|