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

Unified Diff: Source/core/html/shadow/HTMLShadowElement.cpp

Issue 66643004: Remove QualifiedName argument from most HTMLElement::create functions (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Hack for XML prefix Created 7 years, 1 month 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
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()

Powered by Google App Engine
This is Rietveld 408576698