Index: Source/core/html/HTMLNoEmbedElement.cpp |
diff --git a/Source/core/html/HTMLNoEmbedElement.cpp b/Source/core/html/HTMLNoEmbedElement.cpp |
index f7b094025a24cf062b02ed045723ba05fc37d156..a3708471d26ee78c8b07333e4bf62d5deab32b78 100644 |
--- a/Source/core/html/HTMLNoEmbedElement.cpp |
+++ b/Source/core/html/HTMLNoEmbedElement.cpp |
@@ -39,15 +39,12 @@ namespace WebCore { |
using namespace HTMLNames; |
-HTMLNoEmbedElement::HTMLNoEmbedElement(Document& document) |
+inline HTMLNoEmbedElement::HTMLNoEmbedElement(Document& document) |
: HTMLElement(noembedTag, document) |
{ |
} |
-PassRefPtrWillBeRawPtr<HTMLNoEmbedElement> HTMLNoEmbedElement::create(Document& document) |
-{ |
- return adoptRefWillBeRefCountedGarbageCollected(new HTMLNoEmbedElement(document)); |
-} |
+DEFINE_NODE_FACTORY(HTMLNoEmbedElement) |
bool HTMLNoEmbedElement::rendererIsNeeded(const RenderStyle& style) |
{ |