summaryrefslogtreecommitdiffstats
path: root/WebCore/html/HTMLBaseFontElement.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'WebCore/html/HTMLBaseFontElement.cpp')
-rw-r--r--WebCore/html/HTMLBaseFontElement.cpp9
1 files changed, 7 insertions, 2 deletions
diff --git a/WebCore/html/HTMLBaseFontElement.cpp b/WebCore/html/HTMLBaseFontElement.cpp
index 9acbf73..1ac9ce6 100644
--- a/WebCore/html/HTMLBaseFontElement.cpp
+++ b/WebCore/html/HTMLBaseFontElement.cpp
@@ -1,7 +1,7 @@
/*
* Copyright (C) 1999 Lars Knoll (knoll@kde.org)
* (C) 1999 Antti Koivisto (koivisto@kde.org)
- * Copyright (C) 2003, 2004, 2005, 2006, 2009 Apple Inc. All rights reserved.
+ * Copyright (C) 2003, 2004, 2005, 2006, 2009, 2010 Apple Inc. All rights reserved.
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Library General Public
@@ -29,12 +29,17 @@ namespace WebCore {
using namespace HTMLNames;
-HTMLBaseFontElement::HTMLBaseFontElement(const QualifiedName& tagName, Document* document)
+inline HTMLBaseFontElement::HTMLBaseFontElement(const QualifiedName& tagName, Document* document)
: HTMLElement(tagName, document)
{
ASSERT(hasTagName(basefontTag));
}
+PassRefPtr<HTMLBaseFontElement> HTMLBaseFontElement::create(const QualifiedName& tagName, Document* document)
+{
+ return new HTMLBaseFontElement(tagName, document);
+}
+
int HTMLBaseFontElement::size() const
{
return getAttribute(sizeAttr).toInt();