| Index: third_party/WebKit/Source/core/editing/commands/CreateLinkCommand.cpp
|
| diff --git a/third_party/WebKit/Source/core/editing/commands/CreateLinkCommand.cpp b/third_party/WebKit/Source/core/editing/commands/CreateLinkCommand.cpp
|
| index 05323be048328800083e823a97d15b77e1b21d2d..06caae2bfbde40c36fbdf964c40fb05ac64c9a50 100644
|
| --- a/third_party/WebKit/Source/core/editing/commands/CreateLinkCommand.cpp
|
| +++ b/third_party/WebKit/Source/core/editing/commands/CreateLinkCommand.cpp
|
| @@ -41,14 +41,14 @@ void CreateLinkCommand::doApply()
|
| if (endingSelection().isNone())
|
| return;
|
|
|
| - RefPtrWillBeRawPtr<HTMLAnchorElement> anchorElement = HTMLAnchorElement::create(document());
|
| + RawPtr<HTMLAnchorElement> anchorElement = HTMLAnchorElement::create(document());
|
| anchorElement->setHref(AtomicString(m_url));
|
|
|
| if (endingSelection().isRange()) {
|
| applyStyledElement(anchorElement.get());
|
| } else {
|
| insertNodeAt(anchorElement.get(), endingSelection().start());
|
| - RefPtrWillBeRawPtr<Text> textNode = Text::create(document(), m_url);
|
| + RawPtr<Text> textNode = Text::create(document(), m_url);
|
| appendNode(textNode.get(), anchorElement.get());
|
| setEndingSelection(VisibleSelection(positionInParentBeforeNode(*anchorElement), positionInParentAfterNode(*anchorElement), TextAffinity::Downstream, endingSelection().isDirectional()));
|
| }
|
|
|