| Index: Source/core/html/HTMLAreaElement.cpp
|
| diff --git a/Source/core/html/HTMLAreaElement.cpp b/Source/core/html/HTMLAreaElement.cpp
|
| index 437c28fc17b8a91e7f8e0e13775d141d2b2d41e1..45ca13262363f1e73d00da6e8f35d3c4b005cd9a 100644
|
| --- a/Source/core/html/HTMLAreaElement.cpp
|
| +++ b/Source/core/html/HTMLAreaElement.cpp
|
| @@ -37,18 +37,17 @@ namespace WebCore {
|
|
|
| using namespace HTMLNames;
|
|
|
| -inline HTMLAreaElement::HTMLAreaElement(const QualifiedName& tagName, Document& document)
|
| - : HTMLAnchorElement(tagName, document)
|
| +inline HTMLAreaElement::HTMLAreaElement(Document& document)
|
| + : HTMLAnchorElement(areaTag, document)
|
| , m_lastSize(-1, -1)
|
| , m_shape(Unknown)
|
| {
|
| - ASSERT(hasTagName(areaTag));
|
| ScriptWrappable::init(this);
|
| }
|
|
|
| -PassRefPtr<HTMLAreaElement> HTMLAreaElement::create(const QualifiedName& tagName, Document& document)
|
| +PassRefPtr<HTMLAreaElement> HTMLAreaElement::create(Document& document)
|
| {
|
| - return adoptRef(new HTMLAreaElement(tagName, document));
|
| + return adoptRef(new HTMLAreaElement(document));
|
| }
|
|
|
| void HTMLAreaElement::parseAttribute(const QualifiedName& name, const AtomicString& value)
|
|
|