Index: Source/core/html/HTMLElement.cpp |
diff --git a/Source/core/html/HTMLElement.cpp b/Source/core/html/HTMLElement.cpp |
index 0ffa161f504f4a8c16e66286b3fabc45ea1ae6d2..45e4d5ef1b41e561155475c7c62081f254fa12f3 100644 |
--- a/Source/core/html/HTMLElement.cpp |
+++ b/Source/core/html/HTMLElement.cpp |
@@ -63,10 +63,7 @@ using namespace WTF; |
using std::min; |
using std::max; |
-PassRefPtrWillBeRawPtr<HTMLElement> HTMLElement::create(const QualifiedName& tagName, Document& document) |
-{ |
- return adoptRefWillBeRefCountedGarbageCollected(new HTMLElement(tagName, document)); |
-} |
+DEFINE_ELEMENT_FACTORY_WITH_TAGNAME(HTMLElement); |
String HTMLElement::nodeName() const |
{ |