Index: Source/core/editing/CompositeEditCommand.cpp |
diff --git a/Source/core/editing/CompositeEditCommand.cpp b/Source/core/editing/CompositeEditCommand.cpp |
index 5a50f50284f2f632e07c45cf989486b76371c3a0..52f748be811244a352308d2d5ecfce66a12f7e04 100644 |
--- a/Source/core/editing/CompositeEditCommand.cpp |
+++ b/Source/core/editing/CompositeEditCommand.cpp |
@@ -613,7 +613,7 @@ bool CompositeEditCommand::canRebalance(const Position& position) const |
if (textNode->length() == 0) |
return false; |
- RenderObject* renderer = textNode->renderer(); |
+ RenderText* renderer = textNode->renderer(); |
if (renderer && !renderer->style()->collapseWhiteSpace()) |
return false; |
@@ -682,7 +682,7 @@ void CompositeEditCommand::prepareWhitespaceAtPositionForSplit(Position& positio |
if (textNode->length() == 0) |
return; |
- RenderObject* renderer = textNode->renderer(); |
+ RenderText* renderer = textNode->renderer(); |
if (renderer && !renderer->style()->collapseWhiteSpace()) |
return; |
@@ -725,7 +725,7 @@ void CompositeEditCommand::deleteInsignificantText(PassRefPtrWillBeRawPtr<Text> |
document().updateLayout(); |
- RenderText* textRenderer = toRenderText(textNode->renderer()); |
+ RenderText* textRenderer = textNode->renderer(); |
if (!textRenderer) |
return; |