Index: Source/WebCore/dom/Element.cpp |
=================================================================== |
--- Source/WebCore/dom/Element.cpp (revision 88137) |
+++ Source/WebCore/dom/Element.cpp (working copy) |
@@ -207,14 +207,8 @@ |
return document()->createElement(tagQName(), false); |
} |
-void Element::copyNonAttributeProperties(const Element* source) |
+void Element::copyNonAttributeProperties(const Element*) |
{ |
- ShadowRoot* sourceShadow = source->shadowRoot(); |
- removeShadowRoot(); |
- if (sourceShadow) { |
- ShadowRoot* clonedShadow = ensureShadowRoot(); |
- sourceShadow->cloneChildNodes(clonedShadow); |
- } |
} |
void Element::removeAttribute(const QualifiedName& name, ExceptionCode& ec) |