Index: Source/core/editing/ApplyBlockElementCommand.cpp |
diff --git a/Source/core/editing/ApplyBlockElementCommand.cpp b/Source/core/editing/ApplyBlockElementCommand.cpp |
index 938ee5b9abc1f9acbd1163f0e59c3695a3870cdc..bae770c57052d847472242674c84a44d7f9e5e89 100644 |
--- a/Source/core/editing/ApplyBlockElementCommand.cpp |
+++ b/Source/core/editing/ApplyBlockElementCommand.cpp |
@@ -129,7 +129,6 @@ void ApplyBlockElementCommand::formatSelection(const VisiblePosition& startOfSel |
rangeForParagraphSplittingTextNodesIfNeeded(endOfCurrentParagraph, start, end); |
endOfCurrentParagraph = end; |
- Position afterEnd = end.next(); |
Node* enclosingCell = enclosingNodeOfType(start, &isTableCell); |
VisiblePosition endOfNextParagraph = endOfNextParagrahSplittingTextNodesIfNeeded(endOfCurrentParagraph, start, end); |