Index: Source/core/dom/shadow/ElementShadow.cpp |
diff --git a/Source/core/dom/shadow/ElementShadow.cpp b/Source/core/dom/shadow/ElementShadow.cpp |
index cc1cf6109260d3a21da650b0c9610c81309d663c..5ac32769073920acf3eecbb9dd8185db63cc2134 100644 |
--- a/Source/core/dom/shadow/ElementShadow.cpp |
+++ b/Source/core/dom/shadow/ElementShadow.cpp |
@@ -254,7 +254,7 @@ const DestinationInsertionPoints* ElementShadow::destinationInsertionPointsFor(c |
void ElementShadow::distribute() |
{ |
- host()->setNeedsStyleRecalc(SubtreeStyleChange); |
+ host()->setNeedsStyleRecalc(StyleRecalcDueToShadow, SubtreeStyleChange); |
WillBeHeapVector<RawPtrWillBeMember<HTMLShadowElement>, 32> shadowInsertionPoints; |
DistributionPool pool(*host()); |