| Index: Source/core/html/shadow/HTMLShadowElement.cpp
|
| diff --git a/Source/core/html/shadow/HTMLShadowElement.cpp b/Source/core/html/shadow/HTMLShadowElement.cpp
|
| index ac51472ae45a95278bcf155973dabb323268678d..edfba07e3e18a2eeb7ddd502312038afad82212a 100644
|
| --- a/Source/core/html/shadow/HTMLShadowElement.cpp
|
| +++ b/Source/core/html/shadow/HTMLShadowElement.cpp
|
| @@ -38,16 +38,15 @@ namespace WebCore {
|
|
|
| class Document;
|
|
|
| -inline HTMLShadowElement::HTMLShadowElement(const QualifiedName& tagName, Document& document)
|
| - : InsertionPoint(tagName, document)
|
| +inline HTMLShadowElement::HTMLShadowElement(Document& document)
|
| + : InsertionPoint(HTMLNames::shadowTag, document)
|
| {
|
| - ASSERT(hasTagName(HTMLNames::shadowTag));
|
| ScriptWrappable::init(this);
|
| }
|
|
|
| -PassRefPtr<HTMLShadowElement> HTMLShadowElement::create(const QualifiedName& tagName, Document& document)
|
| +PassRefPtr<HTMLShadowElement> HTMLShadowElement::create(Document& document)
|
| {
|
| - return adoptRef(new HTMLShadowElement(tagName, document));
|
| + return adoptRef(new HTMLShadowElement(document));
|
| }
|
|
|
| HTMLShadowElement::~HTMLShadowElement()
|
|
|