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

Unified Diff: Source/core/html/HTMLFrameElement.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/HTMLFrameElement.cpp
diff --git a/Source/core/html/HTMLFrameElement.cpp b/Source/core/html/HTMLFrameElement.cpp
index 38e82ca8dfdaea5e4ac9ad37968ac98aad25d27b..218a22161676b4bd9cecb4d4e7839e6f4ca6ae0e 100644
--- a/Source/core/html/HTMLFrameElement.cpp
+++ b/Source/core/html/HTMLFrameElement.cpp
@@ -32,18 +32,17 @@ namespace WebCore {
using namespace HTMLNames;
-inline HTMLFrameElement::HTMLFrameElement(const QualifiedName& tagName, Document& document)
- : HTMLFrameElementBase(tagName, document)
+inline HTMLFrameElement::HTMLFrameElement(Document& document)
+ : HTMLFrameElementBase(frameTag, document)
, m_frameBorder(true)
, m_frameBorderSet(false)
{
- ASSERT(hasTagName(frameTag));
ScriptWrappable::init(this);
}
-PassRefPtr<HTMLFrameElement> HTMLFrameElement::create(const QualifiedName& tagName, Document& document)
+PassRefPtr<HTMLFrameElement> HTMLFrameElement::create(Document& document)
{
- return adoptRef(new HTMLFrameElement(tagName, document));
+ return adoptRef(new HTMLFrameElement(document));
}
bool HTMLFrameElement::rendererIsNeeded(const RenderStyle&)

Powered by Google App Engine
This is Rietveld 408576698