Chromium Code Reviews| Index: Source/core/dom/shadow/ShadowRoot.cpp |
| diff --git a/Source/core/dom/shadow/ShadowRoot.cpp b/Source/core/dom/shadow/ShadowRoot.cpp |
| index 7c0aad967725d6a46399f432feb51b7eb775eff9..300a09441771ae84dcd0d2cc341935fb09960984 100644 |
| --- a/Source/core/dom/shadow/ShadowRoot.cpp |
| +++ b/Source/core/dom/shadow/ShadowRoot.cpp |
| @@ -142,6 +142,9 @@ void ShadowRoot::recalcStyle(StyleChange change) |
| StyleResolver* styleResolver = document()->styleResolver(); |
| styleResolver->pushParentShadowRoot(this); |
| + if (styleChangeType() == FullStyleChange) |
|
eseidel
2013/05/16 22:48:25
I'm confused by this line. Can you give more cont
|
| + change = Force; |
| + |
| for (Node* child = firstChild(); child; child = child->nextSibling()) { |
| if (child->isElementNode()) |
| toElement(child)->recalcStyle(change); |