Index: Source/core/html/HTMLModElement.cpp |
diff --git a/Source/core/html/HTMLModElement.cpp b/Source/core/html/HTMLModElement.cpp |
index fa75f27aa71aa9505e08418e51e5b4d0c6d99826..c62df2b5121ac5eaee5a643a2b1ae64e1126522d 100644 |
--- a/Source/core/html/HTMLModElement.cpp |
+++ b/Source/core/html/HTMLModElement.cpp |
@@ -35,10 +35,7 @@ inline HTMLModElement::HTMLModElement(const QualifiedName& tagName, Document& do |
ScriptWrappable::init(this); |
} |
-PassRefPtrWillBeRawPtr<HTMLModElement> HTMLModElement::create(const QualifiedName& tagName, Document& document) |
-{ |
- return adoptRefWillBeRefCountedGarbageCollected(new HTMLModElement(tagName, document)); |
-} |
+DEFINE_ELEMENT_FACTORY_WITH_TAGNAME(HTMLModElement) |
bool HTMLModElement::isURLAttribute(const Attribute& attribute) const |
{ |