Index: Source/core/html/HTMLMapElement.cpp |
diff --git a/Source/core/html/HTMLMapElement.cpp b/Source/core/html/HTMLMapElement.cpp |
index 4e45120a24a88e9d4526693efcc56915ecfe924c..95019ff25fc0a8fcba540fdea3269632b929fecf 100644 |
--- a/Source/core/html/HTMLMapElement.cpp |
+++ b/Source/core/html/HTMLMapElement.cpp |
@@ -36,16 +36,13 @@ namespace WebCore { |
using namespace HTMLNames; |
-HTMLMapElement::HTMLMapElement(Document& document) |
+inline HTMLMapElement::HTMLMapElement(Document& document) |
: HTMLElement(mapTag, document) |
{ |
ScriptWrappable::init(this); |
} |
-PassRefPtrWillBeRawPtr<HTMLMapElement> HTMLMapElement::create(Document& document) |
-{ |
- return adoptRefWillBeRefCountedGarbageCollected(new HTMLMapElement(document)); |
-} |
+DEFINE_NODE_FACTORY(HTMLMapElement) |
HTMLMapElement::~HTMLMapElement() |
{ |