| Index: Source/core/editing/CompositeEditCommand.cpp
 | 
| diff --git a/Source/core/editing/CompositeEditCommand.cpp b/Source/core/editing/CompositeEditCommand.cpp
 | 
| index d954114d8ff6efd79813c94e815d6cec92091749..0d0f5d0bceb3fc52763a395750b04a0cdd76b377 100644
 | 
| --- a/Source/core/editing/CompositeEditCommand.cpp
 | 
| +++ b/Source/core/editing/CompositeEditCommand.cpp
 | 
| @@ -66,6 +66,7 @@
 | 
|  #include "core/html/HTMLBRElement.h"
 | 
|  #include "core/html/HTMLDivElement.h"
 | 
|  #include "core/html/HTMLElement.h"
 | 
| +#include "core/html/HTMLLIElement.h"
 | 
|  #include "core/html/HTMLQuoteElement.h"
 | 
|  #include "core/html/HTMLSpanElement.h"
 | 
|  #include "core/rendering/InlineTextBox.h"
 | 
| @@ -1304,7 +1305,7 @@ bool CompositeEditCommand::breakOutOfEmptyListItem()
 | 
|          || listNode == emptyListItem->rootEditableElement())
 | 
|          return false;
 | 
|  
 | 
| -    RefPtrWillBeRawPtr<Element> newBlock = nullptr;
 | 
| +    RefPtrWillBeRawPtr<HTMLElement> newBlock = nullptr;
 | 
|      if (ContainerNode* blockEnclosingList = listNode->parentNode()) {
 | 
|          if (isHTMLLIElement(*blockEnclosingList)) { // listNode is inside another list item
 | 
|              if (visiblePositionAfterNode(*blockEnclosingList) == visiblePositionAfterNode(*listNode)) {
 | 
| 
 |