#include "config.h"
#include "core/html/HTMLTrackElement.h"
-#include "HTMLNames.h"
-#include "bindings/v8/ExceptionStatePlaceholder.h"
+#include "bindings/core/v8/ExceptionStatePlaceholder.h"
+#include "core/HTMLNames.h"
+#include "core/dom/Document.h"
#include "core/events/Event.h"
#include "core/frame/csp/ContentSecurityPolicy.h"
#include "core/html/HTMLMediaElement.h"
#include "platform/Logging.h"
-using namespace std;
-
-namespace WebCore {
+namespace blink {
using namespace HTMLNames;
ScriptWrappable::init(this);
}
+DEFINE_NODE_FACTORY(HTMLTrackElement)
+
HTMLTrackElement::~HTMLTrackElement()
{
#if !ENABLE(OILPAN)
#endif
}
-PassRefPtrWillBeRawPtr<HTMLTrackElement> HTMLTrackElement::create(Document& document)
-{
- return adoptRefWillBeRefCountedGarbageCollected(new HTMLTrackElement(document));
-}
-
Node::InsertionNotificationRequest HTMLTrackElement::insertedInto(ContainerNode* insertionPoint)
{
WTF_LOG(Media, "HTMLTrackElement::insertedInto");