| Index: Source/core/editing/FrameSelection.cpp
|
| diff --git a/Source/core/editing/FrameSelection.cpp b/Source/core/editing/FrameSelection.cpp
|
| index 9cc431655955f19aeefa8f2ecdcca3e51b094ef5..f2f39734097e4d0f606ca191c040efcde9d653d5 100644
|
| --- a/Source/core/editing/FrameSelection.cpp
|
| +++ b/Source/core/editing/FrameSelection.cpp
|
| @@ -390,7 +390,7 @@ static Position updatePositionAfterAdoptingTextReplacement(const Position& posit
|
| 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);
|
|
|