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

Unified Diff: Source/core/html/HTMLDataListElement.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/HTMLDataListElement.cpp
diff --git a/Source/core/html/HTMLDataListElement.cpp b/Source/core/html/HTMLDataListElement.cpp
index a0a6b88f40dba56d9f0a0ab3063af51cd20e5857..fbac9e9e61848c32153d4213776e29970fa595ff 100644
--- a/Source/core/html/HTMLDataListElement.cpp
+++ b/Source/core/html/HTMLDataListElement.cpp
@@ -32,21 +32,22 @@
#include "config.h"
#include "core/html/HTMLDataListElement.h"
+#include "HTMLNames.h"
#include "core/dom/IdTargetObserverRegistry.h"
#include "core/frame/UseCounter.h"
namespace WebCore {
-inline HTMLDataListElement::HTMLDataListElement(const QualifiedName& tagName, Document& document)
- : HTMLElement(tagName, document)
+inline HTMLDataListElement::HTMLDataListElement(Document& document)
+ : HTMLElement(HTMLNames::datalistTag, document)
{
ScriptWrappable::init(this);
}
-PassRefPtr<HTMLDataListElement> HTMLDataListElement::create(const QualifiedName& tagName, Document& document)
+PassRefPtr<HTMLDataListElement> HTMLDataListElement::create(Document& document)
{
UseCounter::count(document, UseCounter::DataListElement);
- return adoptRef(new HTMLDataListElement(tagName, document));
+ return adoptRef(new HTMLDataListElement(document));
}
PassRefPtr<HTMLCollection> HTMLDataListElement::options()

Powered by Google App Engine
This is Rietveld 408576698