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

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

Powered by Google App Engine
This is Rietveld 408576698