| Index: Source/core/html/HTMLDivElement.cpp
|
| diff --git a/Source/core/html/HTMLDivElement.cpp b/Source/core/html/HTMLDivElement.cpp
|
| index 8ed60f14523f31ae96d8c3e149dfbc9ab7ca7b5a..af3d893878385c980b2003dd949d4827aa05f7d4 100644
|
| --- a/Source/core/html/HTMLDivElement.cpp
|
| +++ b/Source/core/html/HTMLDivElement.cpp
|
| @@ -31,21 +31,15 @@ namespace WebCore {
|
|
|
| using namespace HTMLNames;
|
|
|
| -HTMLDivElement::HTMLDivElement(const QualifiedName& tagName, Document& document)
|
| - : HTMLElement(tagName, document)
|
| +HTMLDivElement::HTMLDivElement(Document& document)
|
| + : HTMLElement(divTag, document)
|
| {
|
| - ASSERT(hasTagName(divTag));
|
| ScriptWrappable::init(this);
|
| }
|
|
|
| PassRefPtr<HTMLDivElement> HTMLDivElement::create(Document& document)
|
| {
|
| - return adoptRef(new HTMLDivElement(divTag, document));
|
| -}
|
| -
|
| -PassRefPtr<HTMLDivElement> HTMLDivElement::create(const QualifiedName& tagName, Document& document)
|
| -{
|
| - return adoptRef(new HTMLDivElement(tagName, document));
|
| + return adoptRef(new HTMLDivElement(document));
|
| }
|
|
|
| bool HTMLDivElement::isPresentationAttribute(const QualifiedName& name) const
|
|
|