summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Source/WebCore/dom/Attribute.h7
1 files changed, 5 insertions, 2 deletions
diff --git a/Source/WebCore/dom/Attribute.h b/Source/WebCore/dom/Attribute.h
index c590f9a03..a7d29f1ec 100644
--- a/Source/WebCore/dom/Attribute.h
+++ b/Source/WebCore/dom/Attribute.h
@@ -62,9 +62,12 @@ public:
void parserSetName(const QualifiedName& name) { m_name = name; }
#if COMPILER(MSVC) || COMPILER(CLANG)
- // NOTE: This constructor is not actually implemented, it's just defined so MSVC (or clang)
+ // NOTE: This constructor is not actually used, it's just defined so MSVC (or clang)
// will let us use a zero-length array of Attributes.
- Attribute();
+ Attribute() : m_name(WTF::HashTableDeletedValue)
+ {
+ ASSERT_NOT_REACHED();
+ }
#endif
private: