Index: Source/WebCore/editing/IndentOutdentCommand.cpp |
=================================================================== |
--- Source/WebCore/editing/IndentOutdentCommand.cpp (revision 118286) |
+++ Source/WebCore/editing/IndentOutdentCommand.cpp (working copy) |
@@ -65,7 +65,7 @@ |
return false; |
// Find the block that we want to indent. If it's not a list item (e.g., a div inside a list item), we bail out. |
- Element* selectedListItem = static_cast<Element*>(enclosingBlock(lastNodeInSelectedParagraph)); |
+ Element* selectedListItem = enclosingBlock(lastNodeInSelectedParagraph); |
// FIXME: we need to deal with the case where there is no li (malformed HTML) |
if (!selectedListItem->hasTagName(liTag)) |