Index: net/socket/ssl_host_info.cc |
diff --git a/net/socket/ssl_host_info.cc b/net/socket/ssl_host_info.cc |
index 5131949cc937519d0ed50ad0d1da917ea89ac21b..9d631bb2b9a3a1dee52dc81b334bb5d35e8150df 100644 |
--- a/net/socket/ssl_host_info.cc |
+++ b/net/socket/ssl_host_info.cc |
@@ -115,7 +115,7 @@ bool SSLHostInfo::ParseInner(const std::string& data) { |
state->npn_status = static_cast<SSLClientSocket::NextProtoStatus>(status); |
} |
- if (state->certs.size() > 0) { |
+ if (!state->certs.empty()) { |
std::vector<base::StringPiece> der_certs(state->certs.size()); |
for (size_t i = 0; i < state->certs.size(); i++) |
der_certs[i] = state->certs[i]; |