summaryrefslogtreecommitdiffstats
path: root/WebCore/wml/WMLPElement.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'WebCore/wml/WMLPElement.cpp')
-rw-r--r--WebCore/wml/WMLPElement.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/WebCore/wml/WMLPElement.cpp b/WebCore/wml/WMLPElement.cpp
index ca76022..629b49f 100644
--- a/WebCore/wml/WMLPElement.cpp
+++ b/WebCore/wml/WMLPElement.cpp
@@ -43,6 +43,11 @@ WMLPElement::WMLPElement(const QualifiedName& tagName, Document* doc)
{
}
+PassRefPtr<WMLPElement> WMLPElement::create(const QualifiedName& tagName, Document* document)
+{
+ return adoptRef(new WMLPElement(tagName, document));
+}
+
bool WMLPElement::mapToEntry(const QualifiedName& attrName, MappedAttributeEntry& result) const
{
if (attrName == HTMLNames::alignAttr) {