Index: Source/core/html/HTMLHRElement.cpp |
diff --git a/Source/core/html/HTMLHRElement.cpp b/Source/core/html/HTMLHRElement.cpp |
index c3eac3359411b5770880cfc4f9cfa79d3b8e7d37..c8b2c2dd830f11f631386d4c100c91f031728fb4 100644 |
--- a/Source/core/html/HTMLHRElement.cpp |
+++ b/Source/core/html/HTMLHRElement.cpp |
@@ -33,16 +33,13 @@ namespace WebCore { |
using namespace HTMLNames; |
-HTMLHRElement::HTMLHRElement(Document& document) |
+inline HTMLHRElement::HTMLHRElement(Document& document) |
: HTMLElement(hrTag, document) |
{ |
ScriptWrappable::init(this); |
} |
-PassRefPtrWillBeRawPtr<HTMLHRElement> HTMLHRElement::create(Document& document) |
-{ |
- return adoptRefWillBeRefCountedGarbageCollected(new HTMLHRElement(document)); |
-} |
+DEFINE_NODE_FACTORY(HTMLHRElement) |
bool HTMLHRElement::isPresentationAttribute(const QualifiedName& name) const |
{ |