Index: Source/core/dom/Attr.cpp |
diff --git a/Source/core/dom/Attr.cpp b/Source/core/dom/Attr.cpp |
index 2d56cb212355536604ee3a3fe3cd2b2a35a6b8c7..5c99c6b79b4ed145f47c65607b84e7d9e3eb1258 100644 |
--- a/Source/core/dom/Attr.cpp |
+++ b/Source/core/dom/Attr.cpp |
@@ -98,7 +98,7 @@ void Attr::setPrefix(const AtomicString& prefix, ExceptionCode& ec) |
if ((prefix == xmlnsAtom && namespaceURI() != XMLNSNames::xmlnsNamespaceURI) |
|| static_cast<Attr*>(this)->qualifiedName() == xmlnsAtom) { |
- ec = NAMESPACE_ERR; |
+ ec = NamespaceError; |
return; |
} |