Index: Source/core/html/HTMLLegendElement.cpp |
diff --git a/Source/core/html/HTMLLegendElement.cpp b/Source/core/html/HTMLLegendElement.cpp |
index 515932622ead34d0dcf065c1f2abef1ba0e1fe73..8d01e9e5cf46d24cc9680896544f5ce2d202111b 100644 |
--- a/Source/core/html/HTMLLegendElement.cpp |
+++ b/Source/core/html/HTMLLegendElement.cpp |
@@ -35,16 +35,15 @@ namespace WebCore { |
using namespace HTMLNames; |
-inline HTMLLegendElement::HTMLLegendElement(const QualifiedName& tagName, Document& document) |
- : HTMLElement(tagName, document) |
+inline HTMLLegendElement::HTMLLegendElement(Document& document) |
+ : HTMLElement(legendTag, document) |
{ |
- ASSERT(hasTagName(legendTag)); |
ScriptWrappable::init(this); |
} |
-PassRefPtr<HTMLLegendElement> HTMLLegendElement::create(const QualifiedName& tagName, Document& document) |
+PassRefPtr<HTMLLegendElement> HTMLLegendElement::create(Document& document) |
{ |
- return adoptRef(new HTMLLegendElement(tagName, document)); |
+ return adoptRef(new HTMLLegendElement(document)); |
} |
HTMLFormControlElement* HTMLLegendElement::associatedControl() |