Chromium Code Reviews| Index: third_party/WebKit/Source/core/editing/commands/CompositeEditCommand.cpp |
| diff --git a/third_party/WebKit/Source/core/editing/commands/CompositeEditCommand.cpp b/third_party/WebKit/Source/core/editing/commands/CompositeEditCommand.cpp |
| index 448c3b9fda768de6bbe14a0f0d9e6b4e4a2b2c0c..a71e3fec593d8be4dfac56b78d3ea32c56a51f1f 100644 |
| --- a/third_party/WebKit/Source/core/editing/commands/CompositeEditCommand.cpp |
| +++ b/third_party/WebKit/Source/core/editing/commands/CompositeEditCommand.cpp |
| @@ -300,6 +300,7 @@ void CompositeEditCommand::applyCommandToComposite( |
| void CompositeEditCommand::appendCommandToComposite( |
| CompositeEditCommand* command) { |
| ensureComposition()->append(command->ensureComposition()); |
| + command->m_composition = nullptr; |
|
yosin_UTC9
2016/10/06 01:22:09
This is right place to fix.
I hit DCHECK(isTopLeve
|
| command->setParent(this); |
| m_commands.append(command); |
| } |