Index: Source/core/html/HTMLIFrameElement.cpp |
diff --git a/Source/core/html/HTMLIFrameElement.cpp b/Source/core/html/HTMLIFrameElement.cpp |
index 2137e769be794da9951cd3ccece70a8ad2755667..016fba4ec0ed6511a7800d0ad684908458b95b1c 100644 |
--- a/Source/core/html/HTMLIFrameElement.cpp |
+++ b/Source/core/html/HTMLIFrameElement.cpp |
@@ -34,18 +34,17 @@ namespace WebCore { |
using namespace HTMLNames; |
-inline HTMLIFrameElement::HTMLIFrameElement(const QualifiedName& tagName, Document& document) |
- : HTMLFrameElementBase(tagName, document) |
+inline HTMLIFrameElement::HTMLIFrameElement(Document& document) |
+ : HTMLFrameElementBase(iframeTag, document) |
, m_didLoadNonEmptyDocument(false) |
{ |
- ASSERT(hasTagName(iframeTag)); |
ScriptWrappable::init(this); |
setHasCustomStyleCallbacks(); |
} |
-PassRefPtr<HTMLIFrameElement> HTMLIFrameElement::create(const QualifiedName& tagName, Document& document) |
+PassRefPtr<HTMLIFrameElement> HTMLIFrameElement::create(Document& document) |
{ |
- return adoptRef(new HTMLIFrameElement(tagName, document)); |
+ return adoptRef(new HTMLIFrameElement(document)); |
} |
bool HTMLIFrameElement::isPresentationAttribute(const QualifiedName& name) const |