Chromium Code Reviews| 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..25c690898b7253648815c9087339e2cc305a8a76 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 (auto slot : slots) |
|
yhirano
2016/02/17 05:23:12
const auto&
hayato
2016/02/17 06:07:33
Done.
|
| + slot->didUpdateDistribution(); |
| } |
| void SlotAssignment::assign(Node& hostChild, HTMLSlotElement& slot) |