Index: Source/core/editing/DeleteSelectionCommand.cpp |
diff --git a/Source/core/editing/DeleteSelectionCommand.cpp b/Source/core/editing/DeleteSelectionCommand.cpp |
index a5856c957ab7bd59897b0fb8b15a0e12737898b9..ec1173d29d05bfef3ab52e092c01febc468c0561 100644 |
--- a/Source/core/editing/DeleteSelectionCommand.cpp |
+++ b/Source/core/editing/DeleteSelectionCommand.cpp |
@@ -800,7 +800,7 @@ void DeleteSelectionCommand::doApply() |
// Don't need a placeholder when deleting a selection that starts just before a table |
// and ends inside it (we do need placeholders to hold open empty cells, but that's |
// handled elsewhere). |
- if (Node* table = isLastPositionBeforeTable(m_selectionToDelete.visibleStart())) |
+ if (Element* table = isLastPositionBeforeTable(m_selectionToDelete.visibleStart())) |
if (m_selectionToDelete.end().deprecatedNode()->isDescendantOf(table)) |
m_needPlaceholder = false; |
} |