| Index: third_party/WebKit/Source/core/editing/commands/InsertIntoTextNodeCommand.cpp
|
| diff --git a/third_party/WebKit/Source/core/editing/commands/InsertIntoTextNodeCommand.cpp b/third_party/WebKit/Source/core/editing/commands/InsertIntoTextNodeCommand.cpp
|
| index 0d919d12031bd68dcf93570b986de3eba9f89796..fd29c5ff67f644607385af0437ba49d622b93a87 100644
|
| --- a/third_party/WebKit/Source/core/editing/commands/InsertIntoTextNodeCommand.cpp
|
| +++ b/third_party/WebKit/Source/core/editing/commands/InsertIntoTextNodeCommand.cpp
|
| @@ -39,9 +39,9 @@ InsertIntoTextNodeCommand::InsertIntoTextNodeCommand(Text* node, unsigned offset
|
| , m_offset(offset)
|
| , m_text(text)
|
| {
|
| - ASSERT(m_node);
|
| - ASSERT(m_offset <= m_node->length());
|
| - ASSERT(!m_text.isEmpty());
|
| + DCHECK(m_node);
|
| + DCHECK_LE(m_offset, m_node->length());
|
| + DCHECK(!m_text.isEmpty());
|
| }
|
|
|
| void InsertIntoTextNodeCommand::doApply(EditingState*)
|
|
|