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

Unified Diff: Source/core/html/HTMLLIElement.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/HTMLLIElement.cpp
diff --git a/Source/core/html/HTMLLIElement.cpp b/Source/core/html/HTMLLIElement.cpp
index b6da138ce1d1e281ca65f683912ee0b16929d548..d5a7896a47d3aa0f42c22dd9d1b3a5e4afe76502 100644
--- a/Source/core/html/HTMLLIElement.cpp
+++ b/Source/core/html/HTMLLIElement.cpp
@@ -32,21 +32,15 @@ namespace WebCore {
using namespace HTMLNames;
-HTMLLIElement::HTMLLIElement(const QualifiedName& tagName, Document& document)
- : HTMLElement(tagName, document)
+HTMLLIElement::HTMLLIElement(Document& document)
+ : HTMLElement(liTag, document)
{
- ASSERT(hasTagName(liTag));
ScriptWrappable::init(this);
}
PassRefPtr<HTMLLIElement> HTMLLIElement::create(Document& document)
{
- return adoptRef(new HTMLLIElement(liTag, document));
-}
-
-PassRefPtr<HTMLLIElement> HTMLLIElement::create(const QualifiedName& tagName, Document& document)
-{
- return adoptRef(new HTMLLIElement(tagName, document));
+ return adoptRef(new HTMLLIElement(document));
}
bool HTMLLIElement::isPresentationAttribute(const QualifiedName& name) const

Powered by Google App Engine
This is Rietveld 408576698