| Index: Source/core/html/HTMLSpanElement.cpp
|
| diff --git a/Source/core/html/HTMLSpanElement.cpp b/Source/core/html/HTMLSpanElement.cpp
|
| index ae275d37ffa85e4deceadf8a2e878c7088df8fdb..193c659b84db05c07f7510795aa2fee7e2af23d0 100644
|
| --- a/Source/core/html/HTMLSpanElement.cpp
|
| +++ b/Source/core/html/HTMLSpanElement.cpp
|
| @@ -32,21 +32,15 @@ namespace WebCore {
|
|
|
| using namespace HTMLNames;
|
|
|
| -HTMLSpanElement::HTMLSpanElement(const QualifiedName& tagName, Document& document)
|
| - : HTMLElement(tagName, document)
|
| +HTMLSpanElement::HTMLSpanElement(Document& document)
|
| + : HTMLElement(spanTag, document)
|
| {
|
| - ASSERT(hasTagName(spanTag));
|
| ScriptWrappable::init(this);
|
| }
|
|
|
| PassRefPtr<HTMLSpanElement> HTMLSpanElement::create(Document& document)
|
| {
|
| - return adoptRef(new HTMLSpanElement(spanTag, document));
|
| -}
|
| -
|
| -PassRefPtr<HTMLSpanElement> HTMLSpanElement::create(const QualifiedName& tagName, Document& document)
|
| -{
|
| - return adoptRef(new HTMLSpanElement(tagName, document));
|
| + return adoptRef(new HTMLSpanElement(document));
|
| }
|
|
|
| }
|
|
|