Index: Source/core/html/HTMLTableElement.cpp |
diff --git a/Source/core/html/HTMLTableElement.cpp b/Source/core/html/HTMLTableElement.cpp |
index d077ed0332d8ba4bef4fa6e7292bd2f885ef7517..42973b33738553f0e308e7364fdbaff434ab5e34 100644 |
--- a/Source/core/html/HTMLTableElement.cpp |
+++ b/Source/core/html/HTMLTableElement.cpp |
@@ -51,7 +51,7 @@ namespace WebCore { |
using namespace HTMLNames; |
-HTMLTableElement::HTMLTableElement(Document& document) |
+inline HTMLTableElement::HTMLTableElement(Document& document) |
: HTMLElement(tableTag, document) |
, m_borderAttr(false) |
, m_borderColorAttr(false) |
@@ -62,10 +62,7 @@ HTMLTableElement::HTMLTableElement(Document& document) |
ScriptWrappable::init(this); |
} |
-PassRefPtrWillBeRawPtr<HTMLTableElement> HTMLTableElement::create(Document& document) |
-{ |
- return adoptRefWillBeRefCountedGarbageCollected(new HTMLTableElement(document)); |
-} |
+DEFINE_NODE_FACTORY(HTMLTableElement) |
HTMLTableCaptionElement* HTMLTableElement::caption() const |
{ |