| Index: Source/core/editing/FrameSelection.cpp
|
| ===================================================================
|
| --- Source/core/editing/FrameSelection.cpp (revision 172582)
|
| +++ Source/core/editing/FrameSelection.cpp (working copy)
|
| @@ -390,7 +390,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);
|
|
|