| Index: Source/core/html/HTMLLabelElement.cpp
|
| diff --git a/Source/core/html/HTMLLabelElement.cpp b/Source/core/html/HTMLLabelElement.cpp
|
| index e5b985e961e371dfda91a56eec02096deef5de15..860305add7dc956fde475aff9ba61902e78de184 100644
|
| --- a/Source/core/html/HTMLLabelElement.cpp
|
| +++ b/Source/core/html/HTMLLabelElement.cpp
|
| @@ -44,16 +44,15 @@ static bool supportsLabels(Element* element)
|
| return toLabelableElement(element)->supportLabels();
|
| }
|
|
|
| -inline HTMLLabelElement::HTMLLabelElement(const QualifiedName& tagName, Document& document)
|
| - : HTMLElement(tagName, document)
|
| +inline HTMLLabelElement::HTMLLabelElement(Document& document)
|
| + : HTMLElement(labelTag, document)
|
| {
|
| - ASSERT(hasTagName(labelTag));
|
| ScriptWrappable::init(this);
|
| }
|
|
|
| -PassRefPtr<HTMLLabelElement> HTMLLabelElement::create(const QualifiedName& tagName, Document& document)
|
| +PassRefPtr<HTMLLabelElement> HTMLLabelElement::create(Document& document)
|
| {
|
| - return adoptRef(new HTMLLabelElement(tagName, document));
|
| + return adoptRef(new HTMLLabelElement(document));
|
| }
|
|
|
| bool HTMLLabelElement::rendererIsFocusable() const
|
|
|