| Index: Source/core/dom/QualifiedName.h
|
| diff --git a/Source/core/dom/QualifiedName.h b/Source/core/dom/QualifiedName.h
|
| index 3aaae9631752c14e2cd8ea3e76de41a6958fe73b..355ceeb9c70c3f8cd99485020c8e3c4170a0fffb 100644
|
| --- a/Source/core/dom/QualifiedName.h
|
| +++ b/Source/core/dom/QualifiedName.h
|
| @@ -63,7 +63,7 @@ public:
|
| , m_namespace(namespaceURI)
|
| {
|
| ASSERT(!namespaceURI.isEmpty() || namespaceURI.isNull());
|
| - }
|
| + }
|
| };
|
|
|
| QualifiedName(const AtomicString& prefix, const AtomicString& localName, const AtomicString& namespaceURI);
|
| @@ -95,16 +95,16 @@ public:
|
| String toString() const;
|
|
|
| QualifiedNameImpl* impl() const { return m_impl; }
|
| -
|
| +
|
| // Init routine for globals
|
| static void init();
|
| -
|
| +
|
| private:
|
| void ref() const { m_impl->ref(); }
|
| void deref();
|
|
|
| static QualifiedNameImpl* hashTableDeletedValue() { return RefPtr<QualifiedNameImpl>::hashTableDeletedValue(); }
|
| -
|
| +
|
| QualifiedNameImpl* m_impl;
|
| };
|
|
|
| @@ -128,7 +128,7 @@ inline unsigned hashComponents(const QualifiedNameComponents& buf)
|
| struct QualifiedNameHash {
|
| static unsigned hash(const QualifiedName& name) { return hash(name.impl()); }
|
|
|
| - static unsigned hash(const QualifiedName::QualifiedNameImpl* name)
|
| + static unsigned hash(const QualifiedName::QualifiedNameImpl* name)
|
| {
|
| if (!name->m_existingHash)
|
| name->m_existingHash = name->computeHash();
|
| @@ -147,13 +147,13 @@ void createQualifiedName(void* targetAddress, StringImpl* name, const AtomicStri
|
| }
|
|
|
| namespace WTF {
|
| -
|
| +
|
| template<typename T> struct DefaultHash;
|
|
|
| template<> struct DefaultHash<WebCore::QualifiedName> {
|
| typedef WebCore::QualifiedNameHash Hash;
|
| };
|
| -
|
| +
|
| template<> struct HashTraits<WebCore::QualifiedName> : SimpleClassHashTraits<WebCore::QualifiedName> {
|
| static const bool emptyValueIsZero = false;
|
| static WebCore::QualifiedName emptyValue() { return WebCore::nullQName(); }
|
|
|