Index: Source/core/editing/ReplaceSelectionCommand.cpp |
diff --git a/Source/core/editing/ReplaceSelectionCommand.cpp b/Source/core/editing/ReplaceSelectionCommand.cpp |
index 1a18a3cb58761e01c8fc411ae96416239a045975..34dba96ab54a2c47d9a3016a205a7b3ca3916927 100644 |
--- a/Source/core/editing/ReplaceSelectionCommand.cpp |
+++ b/Source/core/editing/ReplaceSelectionCommand.cpp |
@@ -286,7 +286,7 @@ void ReplacementFragment::removeUnrenderedNodes(ContainerNode* holder) |
WillBeHeapVector<RefPtrWillBeMember<Node>> unrendered; |
for (Node& node : NodeTraversal::descendantsOf(*holder)) { |
- if (!isNodeRendered(&node) && !isTableStructureNode(&node)) |
+ if (!isNodeRendered(node) && !isTableStructureNode(&node)) |
unrendered.append(&node); |
} |