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 44274a29c1a4add2cce6e37d51527076f286a0a9..1dbf468eeec151c043f7258d443afceb827e568c 100644 |
--- a/third_party/WebKit/Source/core/dom/shadow/SlotAssignment.cpp |
+++ b/third_party/WebKit/Source/core/dom/shadow/SlotAssignment.cpp |
@@ -14,6 +14,12 @@ |
namespace blink { |
+ |
+SlotAssignment::SlotAssignment() |
+ : m_descendantSlotCount(0) |
+{ |
+} |
+ |
HTMLSlotElement* SlotAssignment::assignedSlotFor(const Node& node) const |
{ |
return m_assignment.get(const_cast<Node*>(&node)); |
@@ -107,6 +113,7 @@ void SlotAssignment::distribute(Node& hostChild, HTMLSlotElement& slot) |
DEFINE_TRACE(SlotAssignment) |
{ |
+ visitor->trace(m_descendantSlots); |
visitor->trace(m_assignment); |
} |