| Index: Source/core/html/HTMLTagCollection.cpp
|
| diff --git a/Source/core/html/HTMLHeadElement.cpp b/Source/core/html/HTMLTagCollection.cpp
|
| similarity index 65%
|
| copy from Source/core/html/HTMLHeadElement.cpp
|
| copy to Source/core/html/HTMLTagCollection.cpp
|
| index 494154590ac8e117319dd36b661036edefbdd91f..27bfc4d0d633ce0552e548f9d38dc31332a45b09 100644
|
| --- a/Source/core/html/HTMLHeadElement.cpp
|
| +++ b/Source/core/html/HTMLTagCollection.cpp
|
| @@ -1,9 +1,10 @@
|
| /*
|
| * Copyright (C) 1999 Lars Knoll (knoll@kde.org)
|
| * (C) 1999 Antti Koivisto (koivisto@kde.org)
|
| - * (C) 2000 Simon Hausmann (hausmann@kde.org)
|
| * (C) 2001 Dirk Mueller (mueller@kde.org)
|
| - * Copyright (C) 2004, 2006, 2010 Apple Inc. All rights reserved.
|
| + * Copyright (C) 2004, 2005, 2006, 2007 Apple Inc. All rights reserved.
|
| + * Copyright (C) 2008 Nokia Corporation and/or its subsidiary(-ies)
|
| + * Copyright (C) 2014 Samsung Electronics. All rights reserved.
|
| *
|
| * This library is free software; you can redistribute it and/or
|
| * modify it under the terms of the GNU Library General Public
|
| @@ -22,20 +23,15 @@
|
| */
|
|
|
| #include "config.h"
|
| -#include "core/html/HTMLHeadElement.h"
|
| -
|
| -#include "core/HTMLNames.h"
|
| +#include "HTMLTagCollection.h"
|
|
|
| namespace WebCore {
|
|
|
| -using namespace HTMLNames;
|
| -
|
| -inline HTMLHeadElement::HTMLHeadElement(Document& document)
|
| - : HTMLElement(headTag, document)
|
| +HTMLTagCollection::HTMLTagCollection(ContainerNode& rootNode, const AtomicString& localName)
|
| + : TagCollection(rootNode, HTMLTagCollectionType, starAtom, localName)
|
| + , m_loweredLocalName(localName.lower())
|
| {
|
| - ScriptWrappable::init(this);
|
| + ASSERT(rootNode.document().isHTMLDocument());
|
| }
|
|
|
| -DEFINE_NODE_FACTORY(HTMLHeadElement)
|
| -
|
| -}
|
| +} // namespace WebCore
|
|
|