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

Unified Diff: Source/core/html/HTMLMapElement.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/HTMLMapElement.cpp
diff --git a/Source/core/html/HTMLMapElement.cpp b/Source/core/html/HTMLMapElement.cpp
index bdded68b16b8589766084c0b9c8af886aec055fd..3a00f6172637f88141647daf30a719b8eba7c1ca 100644
--- a/Source/core/html/HTMLMapElement.cpp
+++ b/Source/core/html/HTMLMapElement.cpp
@@ -36,21 +36,15 @@ namespace WebCore {
using namespace HTMLNames;
-HTMLMapElement::HTMLMapElement(const QualifiedName& tagName, Document& document)
- : HTMLElement(tagName, document)
+HTMLMapElement::HTMLMapElement(Document& document)
+ : HTMLElement(mapTag, document)
{
- ASSERT(hasTagName(mapTag));
ScriptWrappable::init(this);
}
PassRefPtr<HTMLMapElement> HTMLMapElement::create(Document& document)
{
- return adoptRef(new HTMLMapElement(mapTag, document));
-}
-
-PassRefPtr<HTMLMapElement> HTMLMapElement::create(const QualifiedName& tagName, Document& document)
-{
- return adoptRef(new HTMLMapElement(tagName, document));
+ return adoptRef(new HTMLMapElement(document));
}
HTMLMapElement::~HTMLMapElement()

Powered by Google App Engine
This is Rietveld 408576698