Index: Source/core/dom/shadow/ElementShadow.cpp |
diff --git a/Source/core/dom/shadow/ElementShadow.cpp b/Source/core/dom/shadow/ElementShadow.cpp |
index 1334e2a3952cc19171c9cb0edf065ca499966daa..3c7548af6d5f893409c665ea3e18f26262a01d32 100644 |
--- a/Source/core/dom/shadow/ElementShadow.cpp |
+++ b/Source/core/dom/shadow/ElementShadow.cpp |
@@ -291,7 +291,7 @@ const DestinationInsertionPoints* ElementShadow::destinationInsertionPointsFor(c |
void ElementShadow::distribute() |
{ |
- host()->setNeedsStyleRecalc(); |
+ host()->setNeedsStyleRecalc(SubtreeStyleChange); |
Vector<HTMLShadowElement*, 32> shadowInsertionPoints; |
DistributionPool pool(*host()); |