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

Unified Diff: Source/WebCore/dom/Element.cpp

Issue 6993052: Merge 88137 (Closed) Base URL: http://svn.webkit.org/repository/webkit/branches/chromium/782/
Patch Set: Created 9 years, 6 months 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
« no previous file with comments | « Source/WebCore/ChangeLog ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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)
« no previous file with comments | « Source/WebCore/ChangeLog ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698