| Index: Source/core/dom/Element.cpp
|
| diff --git a/Source/core/dom/Element.cpp b/Source/core/dom/Element.cpp
|
| index 5d886fa4d6f12b01ebfc27af468349eaa6fbd69b..4c72b53bc9ded41494c17b6ae7df911d414db6cd 100644
|
| --- a/Source/core/dom/Element.cpp
|
| +++ b/Source/core/dom/Element.cpp
|
| @@ -1201,7 +1201,7 @@ String Element::nodeName() const
|
|
|
| void Element::setPrefix(const AtomicString& prefix, ExceptionState& exceptionState)
|
| {
|
| - UseCounter::count(document(), UseCounter::ElementSetPrefix);
|
| + UseCounter::countDeprecation(document(), UseCounter::ElementSetPrefix);
|
|
|
| if (!prefix.isEmpty() && !Document::isValidName(prefix)) {
|
| exceptionState.throwDOMException(InvalidCharacterError, "The prefix '" + prefix + "' is not a valid name.");
|
|
|