Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(6)

Unified Diff: Source/core/html/HTMLTrackElement.cpp

Issue 327633004: Apply DEFINE/DECLARE_NODE_FACTORY(T) macro to element factories with single Document& argument. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « Source/core/html/HTMLTrackElement.h ('k') | Source/core/html/HTMLUListElement.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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");
« no previous file with comments | « Source/core/html/HTMLTrackElement.h ('k') | Source/core/html/HTMLUListElement.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698