| Index: Source/core/html/shadow/HTMLContentElement.cpp
|
| diff --git a/Source/core/html/shadow/HTMLContentElement.cpp b/Source/core/html/shadow/HTMLContentElement.cpp
|
| index e0845b74642a16b58a6609f90928229d6ff14889..2da1daa166e0f0c41669b36bdfc1339568a3b61c 100644
|
| --- a/Source/core/html/shadow/HTMLContentElement.cpp
|
| +++ b/Source/core/html/shadow/HTMLContentElement.cpp
|
| @@ -42,20 +42,14 @@ using namespace HTMLNames;
|
|
|
| PassRefPtr<HTMLContentElement> HTMLContentElement::create(Document& document)
|
| {
|
| - return adoptRef(new HTMLContentElement(contentTag, document));
|
| + return adoptRef(new HTMLContentElement(document));
|
| }
|
|
|
| -PassRefPtr<HTMLContentElement> HTMLContentElement::create(const QualifiedName& tagName, Document& document)
|
| -{
|
| - return adoptRef(new HTMLContentElement(tagName, document));
|
| -}
|
| -
|
| -HTMLContentElement::HTMLContentElement(const QualifiedName& name, Document& document)
|
| - : InsertionPoint(name, document)
|
| +HTMLContentElement::HTMLContentElement(Document& document)
|
| + : InsertionPoint(contentTag, document)
|
| , m_shouldParseSelect(false)
|
| , m_isValidSelector(true)
|
| {
|
| - ASSERT(hasTagName(contentTag));
|
| ScriptWrappable::init(this);
|
| }
|
|
|
|
|