| Index: third_party/WebKit/Source/core/editing/PendingSelection.cpp
|
| diff --git a/third_party/WebKit/Source/core/editing/PendingSelection.cpp b/third_party/WebKit/Source/core/editing/PendingSelection.cpp
|
| index 02afe9e71686bba20f36d895c9b836a3013cc6ef..c1078b0d8d5baf10fdfd3d0a8a9d4dfaf95edb4b 100644
|
| --- a/third_party/WebKit/Source/core/editing/PendingSelection.cpp
|
| +++ b/third_party/WebKit/Source/core/editing/PendingSelection.cpp
|
| @@ -86,7 +86,7 @@ void PendingSelection::commit(LayoutView& layoutView)
|
| {
|
| if (!hasPendingSelection())
|
| return;
|
| - ASSERT(!layoutView.needsLayout());
|
| + DCHECK(!layoutView.needsLayout());
|
| m_hasPendingSelection = false;
|
|
|
| const VisibleSelectionInFlatTree& originalSelection = m_frameSelection->visibleSelection<EditingInFlatTreeStrategy>();
|
| @@ -130,7 +130,7 @@ void PendingSelection::commit(LayoutView& layoutView)
|
| LayoutObject* endLayoutObject = endPos.anchorNode()->layoutObject();
|
| if (!startLayoutObject || !endLayoutObject)
|
| return;
|
| - ASSERT(layoutView == startLayoutObject->view() && layoutView == endLayoutObject->view());
|
| + DCHECK(layoutView == startLayoutObject->view() && layoutView == endLayoutObject->view());
|
| layoutView.setSelection(startLayoutObject, startPos.computeEditingOffset(), endLayoutObject, endPos.computeEditingOffset());
|
| }
|
|
|
|
|