| Index: third_party/WebKit/Source/core/editing/commands/InsertNodeBeforeCommand.cpp
|
| diff --git a/third_party/WebKit/Source/core/editing/commands/InsertNodeBeforeCommand.cpp b/third_party/WebKit/Source/core/editing/commands/InsertNodeBeforeCommand.cpp
|
| index edcc46551bcf03d2922cd2b9ec77e8ec7eb076ef..fe10ce6708917073dbc84e31f2e5a98e7357f82e 100644
|
| --- a/third_party/WebKit/Source/core/editing/commands/InsertNodeBeforeCommand.cpp
|
| +++ b/third_party/WebKit/Source/core/editing/commands/InsertNodeBeforeCommand.cpp
|
| @@ -41,7 +41,7 @@ InsertNodeBeforeCommand::InsertNodeBeforeCommand(Node* insertChild, Node* refChi
|
| DCHECK(m_refChild);
|
| DCHECK(m_refChild->parentNode()) << m_refChild;
|
|
|
| - DCHECK(m_refChild->parentNode()->hasEditableStyle() || !m_refChild->parentNode()->inActiveDocument()) << m_refChild->parentNode();
|
| + DCHECK(hasEditableStyle(*m_refChild->parentNode()) || !m_refChild->parentNode()->inActiveDocument()) << m_refChild->parentNode();
|
| }
|
|
|
| void InsertNodeBeforeCommand::doApply(EditingState*)
|
|
|