| Index: Source/core/editing/ReplaceSelectionCommand.cpp
|
| diff --git a/Source/core/editing/ReplaceSelectionCommand.cpp b/Source/core/editing/ReplaceSelectionCommand.cpp
|
| index 497725d39b57fc208c5bf0fed2d5f8b1f4cd2da3..746703cbb292845d12811408f2d2c4243e528b5f 100644
|
| --- a/Source/core/editing/ReplaceSelectionCommand.cpp
|
| +++ b/Source/core/editing/ReplaceSelectionCommand.cpp
|
| @@ -675,7 +675,7 @@ void ReplaceSelectionCommand::moveNodeOutOfAncestor(PassRefPtrWillBeRawPtr<Node>
|
|
|
| static inline bool nodeHasVisibleRenderText(Text& text)
|
| {
|
| - return text.renderer() && toRenderText(text.renderer())->renderedTextLength() > 0;
|
| + return text.renderer() && text.renderer()->renderedTextLength() > 0;
|
| }
|
|
|
| void ReplaceSelectionCommand::removeUnrenderedTextNodesAtEnds(InsertedNodes& insertedNodes)
|
|
|