Index: net/dns/dns_hosts.h |
diff --git a/net/dns/dns_hosts.h b/net/dns/dns_hosts.h |
index d8ece2cd48e848464f03df71f5747aff840ea215..0b9edc21d9b85070b2c0fe070570a2083dcf9ab4 100644 |
--- a/net/dns/dns_hosts.h |
+++ b/net/dns/dns_hosts.h |
@@ -27,8 +27,7 @@ namespace BASE_HASH_NAMESPACE { |
template<> |
struct hash<net::DnsHostsKey> { |
std::size_t operator()(const net::DnsHostsKey& key) const { |
- hash<base::StringPiece> string_piece_hash; |
- return string_piece_hash(key.first) + key.second; |
+ return base::StringPieceHash()(key.first) + key.second; |
} |
}; |