diff options
Diffstat (limited to 'Source/WebCore/editing/InsertListCommand.cpp')
-rw-r--r-- | Source/WebCore/editing/InsertListCommand.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/WebCore/editing/InsertListCommand.cpp b/Source/WebCore/editing/InsertListCommand.cpp index 9348786..c24c683 100644 --- a/Source/WebCore/editing/InsertListCommand.cpp +++ b/Source/WebCore/editing/InsertListCommand.cpp @@ -72,7 +72,7 @@ PassRefPtr<HTMLElement> InsertListCommand::mergeWithNeighboringLists(PassRefPtr< if (!list || !list->nextElementSibling() || !list->nextElementSibling()->isHTMLElement()) return list.release(); - RefPtr<HTMLElement> nextList = static_cast<HTMLElement*>(list->nextElementSibling()); + RefPtr<HTMLElement> nextList = toHTMLElement(list->nextElementSibling()); if (canMergeLists(list.get(), nextList.get())) { mergeIdenticalElements(list, nextList); return nextList.release(); |