| Index: Source/core/html/HTMLFontElement.cpp
|
| diff --git a/Source/core/html/HTMLFontElement.cpp b/Source/core/html/HTMLFontElement.cpp
|
| index 928b1e9afd666b923429500e9a433504e04a2d5f..853eae4a78601e658e4420242b6a1eb97b5f0ba0 100644
|
| --- a/Source/core/html/HTMLFontElement.cpp
|
| +++ b/Source/core/html/HTMLFontElement.cpp
|
| @@ -38,16 +38,15 @@ namespace WebCore {
|
|
|
| using namespace HTMLNames;
|
|
|
| -HTMLFontElement::HTMLFontElement(const QualifiedName& tagName, Document& document)
|
| - : HTMLElement(tagName, document)
|
| +HTMLFontElement::HTMLFontElement(Document& document)
|
| + : HTMLElement(fontTag, document)
|
| {
|
| - ASSERT(hasTagName(fontTag));
|
| ScriptWrappable::init(this);
|
| }
|
|
|
| -PassRefPtr<HTMLFontElement> HTMLFontElement::create(const QualifiedName& tagName, Document& document)
|
| +PassRefPtr<HTMLFontElement> HTMLFontElement::create(Document& document)
|
| {
|
| - return adoptRef(new HTMLFontElement(tagName, document));
|
| + return adoptRef(new HTMLFontElement(document));
|
| }
|
|
|
| // http://www.whatwg.org/specs/web-apps/current-work/multipage/rendering.html#fonts-and-colors
|
|
|