Index: third_party/WebKit/Source/core/html/HTMLSlotElement.cpp |
diff --git a/third_party/WebKit/Source/core/html/HTMLSlotElement.cpp b/third_party/WebKit/Source/core/html/HTMLSlotElement.cpp |
index e2b48feb57c9dc2a3c98f66d7729d7067a5111d8..212a9c34a2b546d02d279698dd57e53f40d907ed 100644 |
--- a/third_party/WebKit/Source/core/html/HTMLSlotElement.cpp |
+++ b/third_party/WebKit/Source/core/html/HTMLSlotElement.cpp |
@@ -184,7 +184,7 @@ AtomicString HTMLSlotElement::name() const { |
void HTMLSlotElement::attachLayoutTree(const AttachContext& context) { |
if (supportsDistribution()) { |
for (auto& node : m_distributedNodes) { |
- if (node->needsAttach()) |
+ if (node->needsReattachLayoutTree()) |
node->attachLayoutTree(context); |
} |
} |