| Index: third_party/WebKit/Source/core/dom/QualifiedName.h
|
| diff --git a/third_party/WebKit/Source/core/dom/QualifiedName.h b/third_party/WebKit/Source/core/dom/QualifiedName.h
|
| index 8c6fee54045891b5b072668e9aeeff7ac1c8a32e..a2a725a5382a53b055fed20d8cdabfd92d89e056 100644
|
| --- a/third_party/WebKit/Source/core/dom/QualifiedName.h
|
| +++ b/third_party/WebKit/Source/core/dom/QualifiedName.h
|
| @@ -46,6 +46,8 @@ struct QualifiedNameData {
|
| bool m_isStatic;
|
| };
|
|
|
| +CORE_EXPORT extern const class QualifiedName& nullName;
|
| +
|
| class CORE_EXPORT QualifiedName {
|
| USING_FAST_MALLOC(QualifiedName);
|
|
|
| @@ -160,7 +162,7 @@ class CORE_EXPORT QualifiedName {
|
| // Init routine for globals
|
| static void initAndReserveCapacityForSize(unsigned size);
|
|
|
| - static const QualifiedName& null();
|
| + static const QualifiedName& null() { return nullName; }
|
|
|
| // The below methods are only for creating static global QNames that need no
|
| // ref counting.
|
| @@ -236,7 +238,7 @@ template <>
|
| struct HashTraits<blink::QualifiedName>
|
| : SimpleClassHashTraits<blink::QualifiedName> {
|
| static const bool emptyValueIsZero = false;
|
| - static blink::QualifiedName emptyValue() {
|
| + static const blink::QualifiedName& emptyValue() {
|
| return blink::QualifiedName::null();
|
| }
|
| };
|
|
|