| Index: Source/core/editing/BreakBlockquoteCommand.cpp
|
| diff --git a/Source/core/editing/BreakBlockquoteCommand.cpp b/Source/core/editing/BreakBlockquoteCommand.cpp
|
| index 73f09d90dd05d22e229d49bd93e39c1edfbcd29f..0cb60d965281f014c5a46003c6f8f94aa001e88b 100644
|
| --- a/Source/core/editing/BreakBlockquoteCommand.cpp
|
| +++ b/Source/core/editing/BreakBlockquoteCommand.cpp
|
| @@ -116,7 +116,7 @@ void BreakBlockquoteCommand::doApply()
|
| } else if (pos.deprecatedEditingOffset() > 0)
|
| splitTextNode(textNode, pos.deprecatedEditingOffset());
|
| } else if (pos.deprecatedEditingOffset() > 0) {
|
| - Node* childAtOffset = startNode->childNode(pos.deprecatedEditingOffset());
|
| + Node* childAtOffset = startNode->traverseToChildAt(pos.deprecatedEditingOffset());
|
| startNode = childAtOffset ? childAtOffset : NodeTraversal::next(*startNode);
|
| ASSERT(startNode);
|
| }
|
| @@ -174,7 +174,7 @@ void BreakBlockquoteCommand::doApply()
|
|
|
| // If the startNode's original parent is now empty, remove it
|
| Node* originalParent = ancestors.first().get();
|
| - if (!originalParent->hasChildNodes())
|
| + if (!originalParent->hasChildren())
|
| removeNode(originalParent);
|
| }
|
|
|
|
|