Index: third_party/WebKit/Source/core/dom/shadow/SlotAssignment.cpp |
diff --git a/third_party/WebKit/Source/core/dom/shadow/SlotAssignment.cpp b/third_party/WebKit/Source/core/dom/shadow/SlotAssignment.cpp |
index 16ad5ad6d2d00a296052bad77cc4e04fac595305..3e43b8906d23964d9cdad9f145e7bdffaaf6aec2 100644 |
--- a/third_party/WebKit/Source/core/dom/shadow/SlotAssignment.cpp |
+++ b/third_party/WebKit/Source/core/dom/shadow/SlotAssignment.cpp |
@@ -76,6 +76,8 @@ void SlotAssignment::resolveAssignment(ShadowRoot& shadowRoot) |
// Update each slot's distribution in reverse tree order so that a child slot is visited before its parent slot. |
for (auto slot = slots.rbegin(); slot != slots.rend(); ++slot) |
(*slot)->updateDistributedNodesWithFallback(); |
+ for (const auto& slot : slots) |
+ slot->didUpdateDistribution(); |
} |
void SlotAssignment::assign(Node& hostChild, HTMLSlotElement& slot) |