Index: WebCore/html/HTMLElement.cpp |
=================================================================== |
--- WebCore/html/HTMLElement.cpp (revision 10232) |
+++ WebCore/html/HTMLElement.cpp (working copy) |
@@ -96,23 +96,6 @@ |
return 1; |
} |
-PassRefPtr<Node> HTMLElement::cloneNode(bool deep) |
-{ |
- RefPtr<HTMLElement> clone = HTMLElementFactory::createHTMLElement(tagQName(), document(), 0, false); |
- if (!clone) |
- return 0; |
- |
- if (namedAttrMap) |
- clone->attributes()->setAttributes(*namedAttrMap); |
- |
- clone->copyNonAttributeProperties(this); |
- |
- if (deep) |
- cloneChildNodes(clone.get()); |
- |
- return clone.release(); |
-} |
- |
bool HTMLElement::mapToEntry(const QualifiedName& attrName, MappedAttributeEntry& result) const |
{ |
if (attrName == alignAttr || |