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