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

Unified Diff: Source/core/html/HTMLMetaElement-in.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/HTMLMetaElement-in.cpp
diff --git a/Source/core/html/HTMLMetaElement-in.cpp b/Source/core/html/HTMLMetaElement-in.cpp
index e1f39d2dc540bffc94b362447eb62a6531339060..18697f4b4420fde18c11de22f4ee156c04c45e7b 100644
--- a/Source/core/html/HTMLMetaElement-in.cpp
+++ b/Source/core/html/HTMLMetaElement-in.cpp
@@ -45,21 +45,15 @@ if (!source.is8Bit()) { \
using namespace HTMLNames;
-inline HTMLMetaElement::HTMLMetaElement(const QualifiedName& tagName, Document& document)
- : HTMLElement(tagName, document)
+inline HTMLMetaElement::HTMLMetaElement(Document& document)
+ : HTMLElement(metaTag, document)
{
- ASSERT(hasTagName(metaTag));
ScriptWrappable::init(this);
}
PassRefPtr<HTMLMetaElement> HTMLMetaElement::create(Document& document)
{
- return adoptRef(new HTMLMetaElement(metaTag, document));
-}
-
-PassRefPtr<HTMLMetaElement> HTMLMetaElement::create(const QualifiedName& tagName, Document& document)
-{
- return adoptRef(new HTMLMetaElement(tagName, document));
+ return adoptRef(new HTMLMetaElement(document));
}
static bool isInvalidSeparator(UChar c)

Powered by Google App Engine
This is Rietveld 408576698