| Index: third_party/WebKit/Source/platform/inspector_protocol/String16WTF.h
|
| diff --git a/third_party/WebKit/Source/platform/inspector_protocol/String16WTF.h b/third_party/WebKit/Source/platform/inspector_protocol/String16WTF.h
|
| index 57a91d82c6f68d71d010c9bbc64e2297cdc7eebf..87663116315251037bd4e02d45bfc4286641ff1c 100644
|
| --- a/third_party/WebKit/Source/platform/inspector_protocol/String16WTF.h
|
| +++ b/third_party/WebKit/Source/platform/inspector_protocol/String16WTF.h
|
| @@ -138,4 +138,14 @@ struct HashTraits<String16> : SimpleClassHashTraits<String16> {
|
|
|
| } // namespace WTF
|
|
|
| +namespace std {
|
| +template<> struct hash<String16> {
|
| + std::size_t operator()(const String16& string) const
|
| + {
|
| + return StringHash::hash(string.impl());
|
| + }
|
| +};
|
| +
|
| +} // namespace std
|
| +
|
| #endif // !defined(String16WTF_h)
|
|
|