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&) |