| Index: third_party/WebKit/Source/core/dom/Node.h
|
| diff --git a/third_party/WebKit/Source/core/dom/Node.h b/third_party/WebKit/Source/core/dom/Node.h
|
| index d07e66cc70ae0fd7a6ce62ff099cc527e4a66c2b..0acf35eac50135466ee662ee8fa28d52f6e537a9 100644
|
| --- a/third_party/WebKit/Source/core/dom/Node.h
|
| +++ b/third_party/WebKit/Source/core/dom/Node.h
|
| @@ -113,6 +113,11 @@ enum class CustomElementState {
|
| NotDefinedFlag = 2 << nodeCustomElementShift,
|
| };
|
|
|
| +enum class SlotChangeType {
|
| + Initial,
|
| + Chained,
|
| +};
|
| +
|
| class NodeRareDataBase {
|
| public:
|
| LayoutObject* layoutObject() const { return m_layoutObject; }
|
| @@ -794,9 +799,13 @@ class CORE_EXPORT Node : public EventTarget {
|
| return getFlag(IsFinishedParsingChildrenFlag);
|
| }
|
|
|
| - void checkSlotChange();
|
| - void checkSlotChangeAfterInserted() { checkSlotChange(); }
|
| - void checkSlotChangeBeforeRemoved() { checkSlotChange(); }
|
| + void checkSlotChange(SlotChangeType);
|
| + void checkSlotChangeAfterInserted() {
|
| + checkSlotChange(SlotChangeType::Initial);
|
| + }
|
| + void checkSlotChangeBeforeRemoved() {
|
| + checkSlotChange(SlotChangeType::Initial);
|
| + }
|
|
|
| DECLARE_VIRTUAL_TRACE();
|
|
|
|
|