Index: Source/core/html/HTMLTableRowElement.cpp |
diff --git a/Source/core/html/HTMLTableRowElement.cpp b/Source/core/html/HTMLTableRowElement.cpp |
index 9d5dea7280503bfeceb64b5a179b3ee5cf039fb6..df3fd53f2851dac2d9f537cb2ae45e38c3d5afdc 100644 |
--- a/Source/core/html/HTMLTableRowElement.cpp |
+++ b/Source/core/html/HTMLTableRowElement.cpp |
@@ -38,12 +38,14 @@ namespace WebCore { |
using namespace HTMLNames; |
-HTMLTableRowElement::HTMLTableRowElement(Document& document) |
+inline HTMLTableRowElement::HTMLTableRowElement(Document& document) |
: HTMLTablePartElement(trTag, document) |
{ |
ScriptWrappable::init(this); |
} |
+DEFINE_NODE_FACTORY(HTMLTableRowElement) |
+ |
bool HTMLTableRowElement::hasLegalLinkAttribute(const QualifiedName& name) const |
{ |
return name == backgroundAttr || HTMLTablePartElement::hasLegalLinkAttribute(name); |
@@ -54,11 +56,6 @@ const QualifiedName& HTMLTableRowElement::subResourceAttributeName() const |
return backgroundAttr; |
} |
-PassRefPtrWillBeRawPtr<HTMLTableRowElement> HTMLTableRowElement::create(Document& document) |
-{ |
- return adoptRefWillBeRefCountedGarbageCollected(new HTMLTableRowElement(document)); |
-} |
- |
int HTMLTableRowElement::rowIndex() const |
{ |
ContainerNode* table = parentNode(); |