Index: Source/core/editing/CompositeEditCommand.cpp |
diff --git a/Source/core/editing/CompositeEditCommand.cpp b/Source/core/editing/CompositeEditCommand.cpp |
index f96f95513ba8a695eec60bd92750e832649fb0e0..9935e758745e3008bcc7d87793cdd4c378f3f883 100644 |
--- a/Source/core/editing/CompositeEditCommand.cpp |
+++ b/Source/core/editing/CompositeEditCommand.cpp |
@@ -71,8 +71,8 @@ |
#include "core/html/HTMLSpanElement.h" |
#include "core/layout/LayoutBlock.h" |
#include "core/layout/LayoutListItem.h" |
+#include "core/layout/LayoutText.h" |
#include "core/layout/line/InlineTextBox.h" |
-#include "core/rendering/RenderText.h" |
namespace blink { |
@@ -621,7 +621,7 @@ bool CompositeEditCommand::canRebalance(const Position& position) const |
if (textNode->length() == 0) |
return false; |
- RenderText* renderer = textNode->renderer(); |
+ LayoutText* renderer = textNode->renderer(); |
if (renderer && !renderer->style()->collapseWhiteSpace()) |
return false; |
@@ -690,7 +690,7 @@ void CompositeEditCommand::prepareWhitespaceAtPositionForSplit(Position& positio |
if (textNode->length() == 0) |
return; |
- RenderText* renderer = textNode->renderer(); |
+ LayoutText* renderer = textNode->renderer(); |
if (renderer && !renderer->style()->collapseWhiteSpace()) |
return; |
@@ -733,7 +733,7 @@ void CompositeEditCommand::deleteInsignificantText(PassRefPtrWillBeRawPtr<Text> |
document().updateLayout(); |
- RenderText* textRenderer = textNode->renderer(); |
+ LayoutText* textRenderer = textNode->renderer(); |
if (!textRenderer) |
return; |