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

Unified Diff: Source/core/html/HTMLTemplateElement.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/HTMLTemplateElement.cpp
diff --git a/Source/core/html/HTMLTemplateElement.cpp b/Source/core/html/HTMLTemplateElement.cpp
index 0fa4e7cbcf332dbd0f8c836ac4ef0baab72245f9..2990838c707253bc0dae6570bd98b4d332f765b4 100644
--- a/Source/core/html/HTMLTemplateElement.cpp
+++ b/Source/core/html/HTMLTemplateElement.cpp
@@ -39,8 +39,8 @@ namespace WebCore {
using namespace HTMLNames;
-inline HTMLTemplateElement::HTMLTemplateElement(const QualifiedName& tagName, Document& document)
- : HTMLElement(tagName, document)
+inline HTMLTemplateElement::HTMLTemplateElement(Document& document)
+ : HTMLElement(templateTag, document)
{
ScriptWrappable::init(this);
}
@@ -51,9 +51,9 @@ HTMLTemplateElement::~HTMLTemplateElement()
m_content->clearHost();
}
-PassRefPtr<HTMLTemplateElement> HTMLTemplateElement::create(const QualifiedName& tagName, Document& document)
+PassRefPtr<HTMLTemplateElement> HTMLTemplateElement::create(Document& document)
{
- return adoptRef(new HTMLTemplateElement(tagName, document));
+ return adoptRef(new HTMLTemplateElement(document));
}
DocumentFragment* HTMLTemplateElement::content() const

Powered by Google App Engine
This is Rietveld 408576698