summaryrefslogtreecommitdiffstats
path: root/WebCore/html/HTMLParamElement.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'WebCore/html/HTMLParamElement.cpp')
-rw-r--r--WebCore/html/HTMLParamElement.cpp9
1 files changed, 5 insertions, 4 deletions
diff --git a/WebCore/html/HTMLParamElement.cpp b/WebCore/html/HTMLParamElement.cpp
index 61a5a65..ca28383 100644
--- a/WebCore/html/HTMLParamElement.cpp
+++ b/WebCore/html/HTMLParamElement.cpp
@@ -2,7 +2,7 @@
* Copyright (C) 1999 Lars Knoll (knoll@kde.org)
* (C) 1999 Antti Koivisto (koivisto@kde.org)
* (C) 2000 Stefan Schimanski (1Stein@gmx.de)
- * Copyright (C) 2004, 2005, 2006, 2008 Apple Inc. All rights reserved.
+ * Copyright (C) 2004, 2005, 2006, 2008, 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
@@ -31,14 +31,15 @@ namespace WebCore {
using namespace HTMLNames;
-HTMLParamElement::HTMLParamElement(const QualifiedName& tagName, Document* doc)
- : HTMLElement(tagName, doc)
+inline HTMLParamElement::HTMLParamElement(const QualifiedName& tagName, Document* document)
+ : HTMLElement(tagName, document)
{
ASSERT(hasTagName(paramTag));
}
-HTMLParamElement::~HTMLParamElement()
+PassRefPtr<HTMLParamElement> HTMLParamElement::create(const QualifiedName& tagName, Document* document)
{
+ return new HTMLParamElement(tagName, document);
}
void HTMLParamElement::parseMappedAttribute(Attribute* attr)