Index: Source/core/editing/FrameSelection.cpp |
=================================================================== |
--- Source/core/editing/FrameSelection.cpp (revision 173027) |
+++ Source/core/editing/FrameSelection.cpp (working copy) |
@@ -379,7 +379,7 @@ |
if (positionOffset > offset + oldLength) |
positionOffset = positionOffset - oldLength + newLength; |
- ASSERT(positionOffset <= node->length()); |
+ ASSERT_WITH_SECURITY_IMPLICATION(positionOffset <= node->length()); |
// CharacterNode in VisibleSelection must be Text node, because Comment |
// and ProcessingInstruction node aren't visible. |
return Position(toText(node), positionOffset); |