| Index: third_party/WebKit/Source/core/dom/Node.cpp
|
| diff --git a/third_party/WebKit/Source/core/dom/Node.cpp b/third_party/WebKit/Source/core/dom/Node.cpp
|
| index 8059397fe39faf8fa56d3bc2bd6e957b4626d4e9..3306e156523469d72f1f851aba7f60912bc95fb7 100644
|
| --- a/third_party/WebKit/Source/core/dom/Node.cpp
|
| +++ b/third_party/WebKit/Source/core/dom/Node.cpp
|
| @@ -2374,6 +2374,7 @@ void Node::checkSlotChange() {
|
| Element* parent = parentElement();
|
| if (parent && isHTMLSlotElement(parent)) {
|
| HTMLSlotElement& parentSlot = toHTMLSlotElement(*parent);
|
| + // TODO(hayato): Support slotchange for slots in non-shadow trees.
|
| if (ShadowRoot* root = containingShadowRoot()) {
|
| if (root && root->isV1() && !parentSlot.hasAssignedNodesSlow())
|
| parentSlot.enqueueSlotChangeEvent();
|
|
|