Index: trunk/Source/core/dom/shadow/ShadowRoot.cpp |
=================================================================== |
--- trunk/Source/core/dom/shadow/ShadowRoot.cpp (revision 151673) |
+++ trunk/Source/core/dom/shadow/ShadowRoot.cpp (working copy) |
@@ -142,12 +142,6 @@ |
StyleResolver* styleResolver = document()->styleResolver(); |
styleResolver->pushParentShadowRoot(this); |
- // When we're set to lazyAttach we'll have a FullStyleChange and we'll need |
- // to promote the change to a Force for all our descendants so they get a |
- // recalc and will attach. |
- if (styleChangeType() == FullStyleChange) |
- change = Force; |
- |
for (Node* child = firstChild(); child; child = child->nextSibling()) { |
if (child->isElementNode()) |
toElement(child)->recalcStyle(change); |