| Index: Source/core/editing/InsertTextCommand.cpp
|
| diff --git a/Source/core/editing/InsertTextCommand.cpp b/Source/core/editing/InsertTextCommand.cpp
|
| index e7f1c68b552c6405f7cc857824f787ad1ff4d613..883cfe386de86a92095d3d58c625b985e37ec3ae 100644
|
| --- a/Source/core/editing/InsertTextCommand.cpp
|
| +++ b/Source/core/editing/InsertTextCommand.cpp
|
| @@ -49,7 +49,7 @@ Position InsertTextCommand::positionInsideTextNode(const Position& p)
|
| {
|
| Position pos = p;
|
| if (isTabSpanTextNode(pos.anchorNode())) {
|
| - RefPtrWillBeRawPtr<Node> textNode = document().createEditingTextNode("");
|
| + RefPtrWillBeRawPtr<Text> textNode = document().createEditingTextNode("");
|
| insertNodeAtTabSpanPosition(textNode.get(), pos);
|
| return firstPositionInNode(textNode.get());
|
| }
|
| @@ -57,7 +57,7 @@ Position InsertTextCommand::positionInsideTextNode(const Position& p)
|
| // Prepare for text input by looking at the specified position.
|
| // It may be necessary to insert a text node to receive characters.
|
| if (!pos.containerNode()->isTextNode()) {
|
| - RefPtrWillBeRawPtr<Node> textNode = document().createEditingTextNode("");
|
| + RefPtrWillBeRawPtr<Text> textNode = document().createEditingTextNode("");
|
| insertNodeAt(textNode.get(), pos);
|
| return firstPositionInNode(textNode.get());
|
| }
|
|
|