Index: Source/core/html/HTMLRTElement.cpp |
diff --git a/Source/core/html/HTMLRTElement.cpp b/Source/core/html/HTMLRTElement.cpp |
index 345c268a93840987819f91f67aa31e9090f5fa82..2f5e782b8b13901bd8c96d1335cf020cfcf0f743 100644 |
--- a/Source/core/html/HTMLRTElement.cpp |
+++ b/Source/core/html/HTMLRTElement.cpp |
@@ -12,15 +12,12 @@ namespace WebCore { |
using namespace HTMLNames; |
-HTMLRTElement::HTMLRTElement(Document& document) |
+inline HTMLRTElement::HTMLRTElement(Document& document) |
: HTMLElement(rtTag, document) |
{ |
} |
-PassRefPtrWillBeRawPtr<HTMLRTElement> HTMLRTElement::create(Document& document) |
-{ |
- return adoptRefWillBeRefCountedGarbageCollected(new HTMLRTElement(document)); |
-} |
+DEFINE_NODE_FACTORY(HTMLRTElement) |
RenderObject* HTMLRTElement::createRenderer(RenderStyle* style) |
{ |