Index: third_party/WebKit/Source/core/dom/shadow/ElementShadow.cpp |
diff --git a/third_party/WebKit/Source/core/dom/shadow/ElementShadow.cpp b/third_party/WebKit/Source/core/dom/shadow/ElementShadow.cpp |
index e29035dc3be460bdb1f41826b77722664ae310a0..8297d73538cdf1165e98d744e692a7d778c8e792 100644 |
--- a/third_party/WebKit/Source/core/dom/shadow/ElementShadow.cpp |
+++ b/third_party/WebKit/Source/core/dom/shadow/ElementShadow.cpp |
@@ -83,6 +83,7 @@ ShadowRoot& ElementShadow::addShadowRoot(Element& shadowHost, |
shadowRoot->insertedInto(&shadowHost); |
shadowHost.setChildNeedsStyleRecalc(); |
esprehn
2017/02/13 22:19:41
remove this line it doesn't do anything since we d
nainar
2017/02/14 03:42:09
Done.
|
+ shadowHost.setChildNeedsReattachLayoutTree(); |
esprehn
2017/02/13 22:19:41
you can remove this one.
nainar
2017/02/14 03:42:09
Done.
|
shadowHost.setNeedsStyleRecalc( |
SubtreeStyleChange, |
StyleChangeReasonForTracing::create(StyleChangeReason::Shadow)); |