Index: Source/core/html/HTMLShadowElement.cpp |
diff --git a/Source/core/html/HTMLShadowElement.cpp b/Source/core/html/HTMLShadowElement.cpp |
index c369a9ce991107e2f44fed8e2c55fd2e6f350589..d53fce4f99a86a05594882b1ce74f27845498eea 100644 |
--- a/Source/core/html/HTMLShadowElement.cpp |
+++ b/Source/core/html/HTMLShadowElement.cpp |
@@ -44,10 +44,7 @@ inline HTMLShadowElement::HTMLShadowElement(Document& document) |
ScriptWrappable::init(this); |
} |
-PassRefPtrWillBeRawPtr<HTMLShadowElement> HTMLShadowElement::create(Document& document) |
-{ |
- return adoptRefWillBeRefCountedGarbageCollected(new HTMLShadowElement(document)); |
-} |
+DEFINE_NODE_FACTORY(HTMLShadowElement) |
HTMLShadowElement::~HTMLShadowElement() |
{ |