Chromium Code Reviews| Index: third_party/WebKit/Source/core/dom/shadow/ShadowRoot.cpp |
| diff --git a/third_party/WebKit/Source/core/dom/shadow/ShadowRoot.cpp b/third_party/WebKit/Source/core/dom/shadow/ShadowRoot.cpp |
| index d8ed185d0e233bfe29136164ea9ac7fd4522048d..d632432b1a9ffa75bb34f22a24cc1f48b5d4c19e 100644 |
| --- a/third_party/WebKit/Source/core/dom/shadow/ShadowRoot.cpp |
| +++ b/third_party/WebKit/Source/core/dom/shadow/ShadowRoot.cpp |
| @@ -129,9 +129,11 @@ void ShadowRoot::recalcStyle(StyleRecalcChange change) { |
| // There's no style to update so just calling recalcStyle means we're updated. |
| clearNeedsStyleRecalc(); |
| + clearNeedsReattachLayoutTree(); |
| recalcDescendantStyles(change); |
| clearChildNeedsStyleRecalc(); |
| + clearChildNeedsReattachLayoutTree(); |
|
esprehn
2016/10/17 21:36:26
ditto, you won't want to touch the reattach bits i
nainar
2016/10/18 00:04:41
Done.
|
| } |
| void ShadowRoot::attachLayoutTree(const AttachContext& context) { |