| Index: third_party/WebKit/Source/core/editing/commands/MoveSelectionCommand.cpp
|
| diff --git a/third_party/WebKit/Source/core/editing/commands/MoveSelectionCommand.cpp b/third_party/WebKit/Source/core/editing/commands/MoveSelectionCommand.cpp
|
| index f94f55c37f224a0054a24e11b30242b8a740541c..19d99280adcf235eb68208f009f82161ed86ff04 100644
|
| --- a/third_party/WebKit/Source/core/editing/commands/MoveSelectionCommand.cpp
|
| +++ b/third_party/WebKit/Source/core/editing/commands/MoveSelectionCommand.cpp
|
| @@ -33,12 +33,12 @@ namespace blink {
|
| MoveSelectionCommand::MoveSelectionCommand(RawPtr<DocumentFragment> fragment, const Position& position, bool smartInsert, bool smartDelete)
|
| : CompositeEditCommand(*position.document()), m_fragment(fragment), m_position(position), m_smartInsert(smartInsert), m_smartDelete(smartDelete)
|
| {
|
| - ASSERT(m_fragment);
|
| + DCHECK(m_fragment);
|
| }
|
|
|
| void MoveSelectionCommand::doApply(EditingState* editingState)
|
| {
|
| - ASSERT(endingSelection().isNonOrphanedRange());
|
| + DCHECK(endingSelection().isNonOrphanedRange());
|
|
|
| Position pos = m_position;
|
| if (pos.isNull())
|
|
|