Index: Source/core/html/HTMLTrackElement.cpp |
diff --git a/Source/core/html/HTMLTrackElement.cpp b/Source/core/html/HTMLTrackElement.cpp |
index 4a71034e6debee3f8083f3f954e954eda9d2e62e..7efa63c426a565403615a97953e0a201e9fb9c07 100644 |
--- a/Source/core/html/HTMLTrackElement.cpp |
+++ b/Source/core/html/HTMLTrackElement.cpp |
@@ -58,6 +58,8 @@ inline HTMLTrackElement::HTMLTrackElement(Document& document) |
ScriptWrappable::init(this); |
} |
+DEFINE_NODE_FACTORY(HTMLTrackElement) |
+ |
HTMLTrackElement::~HTMLTrackElement() |
{ |
#if !ENABLE(OILPAN) |
@@ -66,11 +68,6 @@ HTMLTrackElement::~HTMLTrackElement() |
#endif |
} |
-PassRefPtrWillBeRawPtr<HTMLTrackElement> HTMLTrackElement::create(Document& document) |
-{ |
- return adoptRefWillBeRefCountedGarbageCollected(new HTMLTrackElement(document)); |
-} |
- |
Node::InsertionNotificationRequest HTMLTrackElement::insertedInto(ContainerNode* insertionPoint) |
{ |
WTF_LOG(Media, "HTMLTrackElement::insertedInto"); |