Index: Source/core/dom/Text.cpp |
diff --git a/Source/core/dom/Text.cpp b/Source/core/dom/Text.cpp |
index c4a70b07f04d1c892f89d037a42bbf9946291986..3a383ff14187dd8d514065ef56ad63f359edd0db 100644 |
--- a/Source/core/dom/Text.cpp |
+++ b/Source/core/dom/Text.cpp |
@@ -99,8 +99,6 @@ static const Text* earliestLogicallyAdjacentTextNode(const Text* t) |
continue; |
} |
- // We would need to visit EntityReference child text nodes if they existed |
- ASSERT(type != Node::ENTITY_REFERENCE_NODE || !n->hasChildNodes()); |
break; |
} |
return t; |
@@ -116,8 +114,6 @@ static const Text* latestLogicallyAdjacentTextNode(const Text* t) |
continue; |
} |
- // We would need to visit EntityReference child text nodes if they existed |
- ASSERT(type != Node::ENTITY_REFERENCE_NODE || !n->hasChildNodes()); |
break; |
} |
return t; |