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

Unified Diff: Source/core/html/HTMLFrameSetElement.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/HTMLFrameSetElement.cpp
diff --git a/Source/core/html/HTMLFrameSetElement.cpp b/Source/core/html/HTMLFrameSetElement.cpp
index e69949167de341fc1da3237d18ab71428baf8bfd..b35a5bb521df145a1ff8f9988082991f3a7f928b 100644
--- a/Source/core/html/HTMLFrameSetElement.cpp
+++ b/Source/core/html/HTMLFrameSetElement.cpp
@@ -42,8 +42,8 @@ namespace WebCore {
using namespace HTMLNames;
-HTMLFrameSetElement::HTMLFrameSetElement(const QualifiedName& tagName, Document& document)
- : HTMLElement(tagName, document)
+HTMLFrameSetElement::HTMLFrameSetElement(Document& document)
+ : HTMLElement(framesetTag, document)
, m_border(6)
, m_borderSet(false)
, m_borderColorSet(false)
@@ -51,14 +51,13 @@ HTMLFrameSetElement::HTMLFrameSetElement(const QualifiedName& tagName, Document&
, m_frameborderSet(false)
, m_noresize(false)
{
- ASSERT(hasTagName(framesetTag));
ScriptWrappable::init(this);
setHasCustomStyleCallbacks();
}
-PassRefPtr<HTMLFrameSetElement> HTMLFrameSetElement::create(const QualifiedName& tagName, Document& document)
+PassRefPtr<HTMLFrameSetElement> HTMLFrameSetElement::create(Document& document)
{
- return adoptRef(new HTMLFrameSetElement(tagName, document));
+ return adoptRef(new HTMLFrameSetElement(document));
}
bool HTMLFrameSetElement::isPresentationAttribute(const QualifiedName& name) const

Powered by Google App Engine
This is Rietveld 408576698