Index: Source/core/html/HTMLParagraphElement.cpp |
diff --git a/Source/core/html/HTMLParagraphElement.cpp b/Source/core/html/HTMLParagraphElement.cpp |
index b2d465d43f2b43f0617df886159893d6b2ee1f5c..8dcdf84186baa1db777e23c3175f19b7800cd1c3 100644 |
--- a/Source/core/html/HTMLParagraphElement.cpp |
+++ b/Source/core/html/HTMLParagraphElement.cpp |
@@ -37,10 +37,7 @@ inline HTMLParagraphElement::HTMLParagraphElement(Document& document) |
ScriptWrappable::init(this); |
} |
-PassRefPtrWillBeRawPtr<HTMLParagraphElement> HTMLParagraphElement::create(Document& document) |
-{ |
- return adoptRefWillBeRefCountedGarbageCollected(new HTMLParagraphElement(document)); |
-} |
+DEFINE_NODE_FACTORY(HTMLParagraphElement) |
void HTMLParagraphElement::collectStyleForPresentationAttribute(const QualifiedName& name, const AtomicString& value, MutableStylePropertySet* style) |
{ |