Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(756)

Unified Diff: Source/core/editing/CompositeEditCommand.cpp

Issue 931423003: Rename rendering/RenderList* to layout/LayoutList* (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Remove spurious LayoutLayerModelObject reference Created 5 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « Source/core/editing/BreakBlockquoteCommand.cpp ('k') | Source/core/frame/FrameView.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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;
« no previous file with comments | « Source/core/editing/BreakBlockquoteCommand.cpp ('k') | Source/core/frame/FrameView.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698