Index: Source/core/editing/CompositeEditCommand.cpp |
diff --git a/Source/core/editing/CompositeEditCommand.cpp b/Source/core/editing/CompositeEditCommand.cpp |
index 4b4dfce54b63bb7350b7c9efdf6bafc534c7dd98..c24a3aab0a3d9ccd7cfebe87668b4cb960e09a82 100644 |
--- a/Source/core/editing/CompositeEditCommand.cpp |
+++ b/Source/core/editing/CompositeEditCommand.cpp |
@@ -923,9 +923,8 @@ PassRefPtr<Node> CompositeEditCommand::moveParagraphContentsToNewBlockIfNecessar |
return nullptr; |
} |
} else if (enclosingBlock(upstreamEnd.deprecatedNode()) != upstreamStart.deprecatedNode()) { |
- // The visibleEnd. It must be an ancestor of the paragraph start. |
+ // It should be an ancestor of the paragraph start. |
// We can bail as we have a full block to work with. |
- ASSERT(upstreamStart.deprecatedNode()->isDescendantOf(enclosingBlock(upstreamEnd.deprecatedNode()))); |
return nullptr; |
} else if (isEndOfEditableOrNonEditableContent(visibleEnd)) { |
// At the end of the editable region. We can bail here as well. |