Index: Source/core/html/HTMLOListElement.cpp |
diff --git a/Source/core/html/HTMLOListElement.cpp b/Source/core/html/HTMLOListElement.cpp |
index ba6934c336cd77a6cca09dbdb175b2c6a27e1d4b..b78a0871e30be2625b987ac495d921d3c44c05d5 100644 |
--- a/Source/core/html/HTMLOListElement.cpp |
+++ b/Source/core/html/HTMLOListElement.cpp |
@@ -32,7 +32,7 @@ namespace WebCore { |
using namespace HTMLNames; |
-HTMLOListElement::HTMLOListElement(Document& document) |
+inline HTMLOListElement::HTMLOListElement(Document& document) |
: HTMLElement(olTag, document) |
, m_start(0xBADBEEF) |
, m_itemCount(0) |
@@ -43,10 +43,7 @@ HTMLOListElement::HTMLOListElement(Document& document) |
ScriptWrappable::init(this); |
} |
-PassRefPtrWillBeRawPtr<HTMLOListElement> HTMLOListElement::create(Document& document) |
-{ |
- return adoptRefWillBeRefCountedGarbageCollected(new HTMLOListElement(document)); |
-} |
+DEFINE_NODE_FACTORY(HTMLOListElement) |
bool HTMLOListElement::isPresentationAttribute(const QualifiedName& name) const |
{ |