| Index: third_party/WebKit/Source/wtf/text/AtomicStringHash.h
|
| diff --git a/third_party/WebKit/Source/wtf/text/AtomicStringHash.h b/third_party/WebKit/Source/wtf/text/AtomicStringHash.h
|
| index 6131edeb565b6bbce0ea57b99e16fc57b0e37f56..25eb277d667dfe05f639fab293b1ea92c191e4ec 100644
|
| --- a/third_party/WebKit/Source/wtf/text/AtomicStringHash.h
|
| +++ b/third_party/WebKit/Source/wtf/text/AtomicStringHash.h
|
| @@ -35,32 +35,30 @@
|
| namespace WTF {
|
|
|
| struct AtomicStringHash {
|
| - static unsigned hash(const AtomicString& key)
|
| - {
|
| - return key.impl()->existingHash();
|
| - }
|
| + static unsigned hash(const AtomicString& key) {
|
| + return key.impl()->existingHash();
|
| + }
|
|
|
| - static bool equal(const AtomicString& a, const AtomicString& b)
|
| - {
|
| - return a == b;
|
| - }
|
| + static bool equal(const AtomicString& a, const AtomicString& b) {
|
| + return a == b;
|
| + }
|
|
|
| - static const bool safeToCompareToEmptyOrDeleted = false;
|
| + static const bool safeToCompareToEmptyOrDeleted = false;
|
| };
|
|
|
| // AtomicStringHash is the default hash for AtomicString
|
| -template<> struct HashTraits<AtomicString> : SimpleClassHashTraits<AtomicString> {
|
| - // Unlike other types, we can return a const reference for AtomicString's
|
| - // empty value (nullAtom).
|
| - typedef const AtomicString& PeekOutType;
|
| +template <>
|
| +struct HashTraits<AtomicString> : SimpleClassHashTraits<AtomicString> {
|
| + // Unlike other types, we can return a const reference for AtomicString's
|
| + // empty value (nullAtom).
|
| + typedef const AtomicString& PeekOutType;
|
|
|
| - static const AtomicString& emptyValue() { return nullAtom; }
|
| - static PeekOutType peek(const AtomicString& value) { return value; }
|
| + static const AtomicString& emptyValue() { return nullAtom; }
|
| + static PeekOutType peek(const AtomicString& value) { return value; }
|
|
|
| - static const bool hasIsEmptyValueFunction = true;
|
| - static bool isEmptyValue(const AtomicString& value) { return value.isNull(); }
|
| + static const bool hasIsEmptyValueFunction = true;
|
| + static bool isEmptyValue(const AtomicString& value) { return value.isNull(); }
|
| };
|
| -
|
| }
|
|
|
| using WTF::AtomicStringHash;
|
|
|