Index: Source/core/editing/BreakBlockquoteCommand.cpp |
diff --git a/Source/core/editing/BreakBlockquoteCommand.cpp b/Source/core/editing/BreakBlockquoteCommand.cpp |
index 021ef38f41bea358e75ab167f66a211aae04ebdf..240a60495b45968f69a5b21acd678bcc8d30b128 100644 |
--- a/Source/core/editing/BreakBlockquoteCommand.cpp |
+++ b/Source/core/editing/BreakBlockquoteCommand.cpp |
@@ -152,7 +152,7 @@ void BreakBlockquoteCommand::doApply() |
// find the first one so that we know where to start numbering. |
while (listChildNode && !isHTMLLIElement(*listChildNode)) |
listChildNode = listChildNode->nextSibling(); |
- if (listChildNode && listChildNode->renderer() && listChildNode->renderer()->isListItem()) |
+ if (isListItem(listChildNode)) |
setNodeAttribute(clonedChild, startAttr, AtomicString::number(toRenderListItem(listChildNode->renderer())->value())); |
} |