Index: Source/core/html/HTMLBodyElement.cpp |
diff --git a/Source/core/html/HTMLBodyElement.cpp b/Source/core/html/HTMLBodyElement.cpp |
index a32a72794aef493a7d9216f305e259093f958bd2..fc32ac971e4bfd84a1aefe62456a35ffb963f8d7 100644 |
--- a/Source/core/html/HTMLBodyElement.cpp |
+++ b/Source/core/html/HTMLBodyElement.cpp |
@@ -41,16 +41,13 @@ namespace WebCore { |
using namespace HTMLNames; |
-HTMLBodyElement::HTMLBodyElement(Document& document) |
+inline HTMLBodyElement::HTMLBodyElement(Document& document) |
: HTMLElement(bodyTag, document) |
{ |
ScriptWrappable::init(this); |
} |
-PassRefPtrWillBeRawPtr<HTMLBodyElement> HTMLBodyElement::create(Document& document) |
-{ |
- return adoptRefWillBeRefCountedGarbageCollected(new HTMLBodyElement(document)); |
-} |
+DEFINE_NODE_FACTORY(HTMLBodyElement) |
HTMLBodyElement::~HTMLBodyElement() |
{ |