| Index: third_party/WebKit/Source/core/editing/commands/InsertLineBreakCommand.cpp
|
| diff --git a/third_party/WebKit/Source/core/editing/commands/InsertLineBreakCommand.cpp b/third_party/WebKit/Source/core/editing/commands/InsertLineBreakCommand.cpp
|
| index 8a50c657f2f3985c781570939afdae3c44fa1e52..4b0e212b6c0ea83aed7b4bd332fefe750ecff3e4 100644
|
| --- a/third_party/WebKit/Source/core/editing/commands/InsertLineBreakCommand.cpp
|
| +++ b/third_party/WebKit/Source/core/editing/commands/InsertLineBreakCommand.cpp
|
| @@ -82,7 +82,7 @@ void InsertLineBreakCommand::doApply()
|
|
|
| pos = positionOutsideTabSpan(pos);
|
|
|
| - RefPtrWillBeRawPtr<Node> nodeToInsert = nullptr;
|
| + RawPtr<Node> nodeToInsert = nullptr;
|
| if (shouldUseBreakElement(pos))
|
| nodeToInsert = HTMLBRElement::create(document());
|
| else
|
| @@ -133,7 +133,7 @@ void InsertLineBreakCommand::doApply()
|
| if (textNode->inDocument()) {
|
| insertTextIntoNode(textNode, 0, nonBreakingSpaceString());
|
| } else {
|
| - RefPtrWillBeRawPtr<Text> nbspNode = document().createTextNode(nonBreakingSpaceString());
|
| + RawPtr<Text> nbspNode = document().createTextNode(nonBreakingSpaceString());
|
| insertNodeAt(nbspNode.get(), positionBeforeTextNode);
|
| endingPosition = firstPositionInNode(nbspNode.get());
|
| }
|
| @@ -144,7 +144,7 @@ void InsertLineBreakCommand::doApply()
|
|
|
| // Handle the case where there is a typing style.
|
|
|
| - RefPtrWillBeRawPtr<EditingStyle> typingStyle = document().frame()->selection().typingStyle();
|
| + RawPtr<EditingStyle> typingStyle = document().frame()->selection().typingStyle();
|
|
|
| if (typingStyle && !typingStyle->isEmpty()) {
|
| // Apply the typing style to the inserted line break, so that if the selection
|
|
|