Index: Source/core/html/HTMLOptGroupElement.cpp |
diff --git a/Source/core/html/HTMLOptGroupElement.cpp b/Source/core/html/HTMLOptGroupElement.cpp |
index 5bd687415386d263988ec86418397506ac7ca97b..c9963b0ece47fe1fc2ee31edee63934788f034a7 100644 |
--- a/Source/core/html/HTMLOptGroupElement.cpp |
+++ b/Source/core/html/HTMLOptGroupElement.cpp |
@@ -35,17 +35,16 @@ namespace WebCore { |
using namespace HTMLNames; |
-inline HTMLOptGroupElement::HTMLOptGroupElement(const QualifiedName& tagName, Document& document) |
- : HTMLElement(tagName, document) |
+inline HTMLOptGroupElement::HTMLOptGroupElement(Document& document) |
+ : HTMLElement(optgroupTag, document) |
{ |
- ASSERT(hasTagName(optgroupTag)); |
setHasCustomStyleCallbacks(); |
ScriptWrappable::init(this); |
} |
-PassRefPtr<HTMLOptGroupElement> HTMLOptGroupElement::create(const QualifiedName& tagName, Document& document) |
+PassRefPtr<HTMLOptGroupElement> HTMLOptGroupElement::create(Document& document) |
{ |
- return adoptRef(new HTMLOptGroupElement(tagName, document)); |
+ return adoptRef(new HTMLOptGroupElement(document)); |
} |
bool HTMLOptGroupElement::isDisabledFormControl() const |