| Index: Source/core/dom/Element.cpp
|
| diff --git a/Source/core/dom/Element.cpp b/Source/core/dom/Element.cpp
|
| index eccc2734474bdf8524a947eaca0ba01209ba0c12..56a8d9431eae375ffab263773df4b8312d60c1a1 100644
|
| --- a/Source/core/dom/Element.cpp
|
| +++ b/Source/core/dom/Element.cpp
|
| @@ -2792,9 +2792,9 @@ void Element::updateLabel(TreeScope* scope, const AtomicString& oldForAttributeV
|
| return;
|
|
|
| if (!oldForAttributeValue.isEmpty())
|
| - scope->removeLabel(oldForAttributeValue, static_cast<HTMLLabelElement*>(this));
|
| + scope->removeLabel(oldForAttributeValue, toHTMLLabelElement(this));
|
| if (!newForAttributeValue.isEmpty())
|
| - scope->addLabel(newForAttributeValue, static_cast<HTMLLabelElement*>(this));
|
| + scope->addLabel(newForAttributeValue, toHTMLLabelElement(this));
|
| }
|
|
|
| void Element::willModifyAttribute(const QualifiedName& name, const AtomicString& oldValue, const AtomicString& newValue)
|
|
|