| Index: Source/core/dom/Attr.cpp
|
| diff --git a/Source/core/dom/Attr.cpp b/Source/core/dom/Attr.cpp
|
| index 440ca9676edd9c1782bb63d38b837ad2524fb6ee..26fc0d78fb641798e3683f0a51aa44831f49e271 100644
|
| --- a/Source/core/dom/Attr.cpp
|
| +++ b/Source/core/dom/Attr.cpp
|
| @@ -103,7 +103,7 @@ void Attr::setPrefix(const AtomicString& prefix, ExceptionState& es)
|
| return;
|
| }
|
|
|
| - if (static_cast<Attr*>(this)->qualifiedName() == xmlnsAtom) {
|
| + if (this->qualifiedName() == xmlnsAtom) {
|
| es.throwDOMException(NamespaceError, ExceptionMessages::failedToSet("prefix", "Attr", "The prefix '" + prefix + "' may not be used as a namespace prefix for attributes whose qualified name is '" + xmlnsAtom + "'."));
|
| return;
|
| }
|
|
|