| Index: Source/core/editing/CompositeEditCommand.cpp
|
| diff --git a/Source/core/editing/CompositeEditCommand.cpp b/Source/core/editing/CompositeEditCommand.cpp
|
| index b36d269d740cc3c2dbacb4be73f20c254a94dda3..8ed08160346fd204489ace139c9980e297f6c010 100644
|
| --- a/Source/core/editing/CompositeEditCommand.cpp
|
| +++ b/Source/core/editing/CompositeEditCommand.cpp
|
| @@ -69,9 +69,9 @@
|
| #include "core/html/HTMLLIElement.h"
|
| #include "core/html/HTMLQuoteElement.h"
|
| #include "core/html/HTMLSpanElement.h"
|
| +#include "core/layout/LayoutListItem.h"
|
| #include "core/layout/line/InlineTextBox.h"
|
| #include "core/rendering/RenderBlock.h"
|
| -#include "core/rendering/RenderListItem.h"
|
| #include "core/rendering/RenderText.h"
|
|
|
| namespace blink {
|
| @@ -878,7 +878,7 @@ PassRefPtrWillBeRawPtr<HTMLBRElement> CompositeEditCommand::addBlockPlaceholderI
|
| // append the placeholder to make sure it follows
|
| // any unrendered blocks
|
| RenderBlockFlow* block = toRenderBlockFlow(renderer);
|
| - if (block->size().height() == 0 || (block->isListItem() && toRenderListItem(block)->isEmpty()))
|
| + if (block->size().height() == 0 || (block->isListItem() && toLayoutListItem(block)->isEmpty()))
|
| return appendBlockPlaceholder(container);
|
|
|
| return nullptr;
|
|
|