Index: Source/core/dom/shadow/ElementShadow.cpp |
diff --git a/Source/core/dom/shadow/ElementShadow.cpp b/Source/core/dom/shadow/ElementShadow.cpp |
index 68cf27d1307ce80bac126d0e975a7b490448058d..6db1ddddba39c42b290e10cd75d137e399d08e05 100644 |
--- a/Source/core/dom/shadow/ElementShadow.cpp |
+++ b/Source/core/dom/shadow/ElementShadow.cpp |
@@ -119,7 +119,7 @@ inline void DistributionPool::detachNonDistributedNodes() |
for (size_t i = 0; i < m_nodes.size(); ++i) { |
if (m_distributed[i]) |
continue; |
- if (m_nodes[i]->renderer()) |
+ if (m_nodes[i]->layoutObject()) |
m_nodes[i]->lazyReattachIfAttached(); |
} |
} |